nodejs-basic-ecommerce

TODO : Update this readme

After you clone the repo : npm install

You can start the server with : npm run start

Create your .env file and put these inside:

  • APP_PORT
  • DB_HOST
  • DB_PORT
  • DB_NAME
  • PASSWORD_HASH
  • ACCESS_TOKEN_SECRET_KEY
  • REFRESH_TOKEN_SECRET_KEY
  • EMAIL_HOST=smtp-mail.outlook.com
  • EMAIL_PORT=587
  • EMAIL_USER
  • EMAIL_PASSWORD
  • EMAIL_FROM

PRODUCT

Use /products after the localhost

USERS

Use /users after the localhost