The idea to make this project came from the backend challenges Github repository, to be more specific, from the Orbital test. The challenge consist in create a application to register products with JWT authentication, and consume this API with VueJS.
To setup the project, follow the steps below:
# clone the repository
$ git clone [email protected]:thalesmengue/orbital-test.git
# enter the project folder
# create the .env file
$ cp .env.example .env
# install the npm dependencies
$ npm install
# install the dependencies
$ composer install
# generate the application key
$ php artisan key:generate
# generate the jwt package secret key
$ php artisan jwt:secret
# migrate the database
$ php artisan migrate
# then you can run the project
$ php artisan serve
$ npm run dev