This is a REST(ful) API that developed by using AdonisJS framework for Patika.dev/Kodluyoruz Android Developer Bootcamp third homework (Teamwork).
I've used "yarn" and there is only "yarn.lock" file, so I'll give you "yarn" and "node ace" commands.
Use the adonis command to install dependencies
yarn
Make a copy of .env.example
rename it to .env
and replace this file content with your own settings.
Run the following command to setup the related database. (in this project, it's MySQL)
node ace migration:run
For seed to database with dummy data, run command below:
yarn seed
After Setup, run the following command to run the application.
yarn start
To start in development environment and watch the changed files, run the command below:
yarn dev
The command above can start the project without build the project.
You can build the project for production if you want, run the command below:
yarn build
They're the same as "node ace build --production --ignore-ts-errors" command.
Also you can build the project for development environment:
node ace build
For showing help for AdonisJS ace, run the following command.
node ace --help