Skip to content

Basic E-trading project using Express.JS and Sequelize

License

Notifications You must be signed in to change notification settings

srap9499/e-trading

Repository files navigation

e-trading

Basic E-trading project using Express.JS and Sequelize

Project Setup

npm install

Run Server

npm start

Run Server (Auto restart mode)

npm run dev

Client Home URL

hostname:port/home

Force Synchronize Sequelize Models

Change Environment Configuration Flag to true inside config/main.config.js before running the server

{
    FORCE_SYNC_FLAG: true,
}

Otherwise, Configure the flag to false

{
    FORCE_SYNC_FLAG: false,
}

Creation of User Roles and Super Admin Profile

While running the server at first time, synchronize sequelize models with force