Skip to content

pearkrub/api-shop

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

Use the adonis command to install the blueprint

adonis new api-shop --api-only

or manually clone the repo and then run npm install.

Use the adonis command to generate app_key

adonis key:generate

Migrations

Run the following command to run startup migrations.

adonis migration:run
adonis seed

Run project on dev

adonis serve --dev

About

for learning adinisjs

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors