/adonis-mongodb-boilerplate

A boilerplate Rest API build on Adonis FW with LucidMongo and swagger-jsdoc

Primary LanguageCSS

AdonisJs + LucidMongo + Swagger jsdoc Application

Greenkeeper badge js-standard-style FOSSA Status

⬆️ How to Setup

Step 1: git clone this repo:

Step 2: cd to the cloned repo:

Step 3: Install the Application with npm install

  • The .env file is ignored by git keeping those secrets out of your repo.

Step 4: copy file .env.example to .env

Step 5: change default config in .env file

▶️ How to Run App

  1. cd to the repo
  2. Run adonis serve --dev

Explore to Swagger page: http://localhost:3333/docs

alt tag

test

copy file .env.example to .env.test

npm run test

License

FOSSA Status