This is the Ecomerce API Project. This project uses the Adonis Framework Js
npm i -g @adonisjs/cli
- clone this project and move to project directory
- install all the dependencies required:
npm install or yarn install
- Create
.env
file (copy.env.example
and fill it) - Create Postgres Database and set on
.env
file - Use the adonis command to install Project :
adonis key:generate
adonis migration:run
adonis seed --files RoleSeeder.js
adonis seed --files UserSeeder.js
- See Router
adonis route:list
- Run this Project
adonis serve --dev
- Finish
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.