A simple Node Js API e-commerce project using Express framework, JSON Web token, and Sequelize ORM
You will need the following things properly installed on your computer.
-
Clone the project:
git clone https://github.com/mimidotsuser/node-store.git
-
Navigate into the
node-store
folder by runningcd node-store
on the terminal -
Run
npm install
to install the dependencies -
Rename sample.env.json located in the project root to
.env.json
-
Replace the database credentials inside the
.env.json
. Refer to sequelize docs for more info. -
Run
npm run start
. to start nodemon server on default port3000
-
Refer to the docs for the available API end points
npm run lint
npm run build
(outputs in the dist folder)
-
Tables will be created automatically by Sequelize ORM if the database connection is established
-
Swagger API Docs and Insomina environment export can be found in the docs folder