About

This application was following a study guide from Rocketseat.

Adonis API application

This is the boilerplate for creating an API server in AdonisJs, it comes pre-configured with.

  1. Bodyparser
  2. Authentication
  3. CORS
  4. Lucid ORM
  5. Migrations and seeds

Start

Use the npm command to start the app

npm start

Config

The project's root folder has an example of what the file should look like. (.env.example)

DB

In the project we are using the PostgreSQL database

Migrations

Run the following command to run startup migrations.

adonis migration:run