Skip to content

gibmyx/quicktrack-api

Repository files navigation

Development installation process

Copy environment files

- Copy archivo .env.example
- Copy archivo phpunit.xml.example

Add values to environment variables

- JWT_SECRET
- JWT_ALGO
- FORWARD_DB_PORT

Add values to DB in .env

- DB_PASSWORD
- DB_ROOT_PASSWORD
- VIEW_APP_URL

Run command Makefile

- make start
- make migrate
- make test

Run url in nav

- http://localhost:8000/

Create user tinker for tests

- make login-php

- php artisan tinker
- $user = new \Quicktrack\User\Infrastructure\Eloquent\Models\User;
- $user->name = "xxx";
- $user->email = "[email protected]";
- $user->password = Hash::make("12345");
- $user->save();

Configurate sending mails

- create account in https://mailtrap.io/
- inboxes -> demo imbox -> SMTP settings 
- integrations -> laravel +7 
- copy vars in file .env
- change values in QUEUE_CONNECTION to "database"
- make clear-cache
- make login-php
- run "php artisan queue:work" ** for background processes **

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages