Skip to content

antoniorrm/adonisjs-api

Repository files navigation

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

Setup

yarn install

Migrations

Run the following command to run startup migrations.

adonis migration:run