MiguelMedeiros / easy-adonisjs-api

Blueprint of AdonisJS API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easy 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
  6. Adonis ACL
  7. Adonis Validators
  8. URL Parse
  9. Postgres
  10. Adonis Mail
  11. Procfile - Heroku
  12. Helper Functions
  13. Ally - Social Auth
  14. Adonis Drive
  15. Administration Seeder
  16. Recovery Password

Requirements

Install Adonis CLI global package.

npm i -g @adonisjs/cli

Setup

Manually clone the repo and then run

yarn install

Migrations

Run

Run the following command to run startup migrations.

adonis migration:run

Rollback

To rollback migrations you can run this command.

adonis migration:rollback

Seeds

To seed your applications with initial data, run this command.

adonis seeds

Development Server

Run the following command to run startup the server.

adonis serve --dev

About

Blueprint of AdonisJS API.


Languages

Language:JavaScript 100.0%