Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.06 KB

README.md

File metadata and controls

48 lines (37 loc) · 1.06 KB

Ecomerce-API

This is the Ecomerce API Project. This project uses the Adonis Framework Js

Installing AdonisJs CLI

 npm i -g @adonisjs/cli

Setup Project

  1. clone this project and move to project directory
  2. install all the dependencies required:
npm install or yarn install
  1. Create .env file (copy .env.example and fill it)
  2. Create Postgres Database and set on .env file
  3. Use the adonis command to install Project :
 adonis key:generate
 
 adonis migration:run

 adonis seed --files RoleSeeder.js

 adonis seed --files UserSeeder.js
  1. See Router
 adonis route:list
  1. Run this Project
 adonis serve --dev
  1. Finish

Contributing

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.

License

MIT