This application was following a study guide from Rocketseat.
This is the boilerplate for creating an API server in AdonisJs, it comes pre-configured with.
- Bodyparser
- Authentication
- CORS
- Lucid ORM
- Migrations and seeds
Use the npm command to start the app
npm start
The project's root folder has an example of what the file should look like. (.env.example)
In the project we are using the PostgreSQL database
Run the following command to run startup migrations.
adonis migration:run