Promit-revar / WingsTechTask

RestApi for ecommerce software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WingsTechTask

RestApi for ecommerce software (1.0.0)

Requirements

  • Node js
  • PostgresSQL

Tech-stack used:

  • Node.js
  • Sequelize
  • PostgresSql
  • Express.js

Getting Started

  • Clone the repo using the following command
git clone https://github.com/Promit-revar/WingsTechTask.git

  • Navigate to the newly created folder WingsTechTask using following command in your comman prompt.
cd WingsTechTask

  • install all Dependencies
npm install

  • Change the database credentials in config.json with your own
  • Run following command to migrate tables
npm run migrate:up

  • Then seed up the data by
npm run seed:up

  • Finally run following command to start the server
npm start

  • Make sure to create .env file and put variables like PORT=Port on which server should run and JWT_SECRET=user Jwt secret inside the .env file.
  • Also postman collection is attached for you reference view

Author

License

About

RestApi for ecommerce software


Languages

Language:JavaScript 100.0%