Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 545 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 545 Bytes

E-Commerce Application

This Application has been developed with nodejs and mongodb.

Environment Variables

Create a file named config.env in config directory and create below keys.

    NODE_ENV=
    PORT=
    USER_NAME=
    PASSWORD=
    MONGO_URL=

    JWT_SECRET=
    JWT_EXPIRE_TIME=
    JWT_COOKIE_EXPIRE=

Installation

Open the new terminal and enter below commands.

    # Install all dependencies
    npm Install
    
    # Run in dev mode
    npm run dev

    # Run in prod mode
    npm start