Skip to content

q-23/Hexashop-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexashop

Ecommerce application written in Node.JS, Express.JS, with MongoDB as database.

Installation

Use the package manager yarn or npm to install dependencies.

yarn install || npm install

Usage

  1. In main directory create folder named "config".
  2. Create two files - dev.env and test.env
  3. Fill in your environment variables, which are the following:

✳️PORT - port on which your server will be running.

✳️MONGODB_URL - database url.

✳️SENDGRID_API_KEY - Sendgrid API key for sending E-mails.

✳️JWT_SECRET - Web token secret phrase.

With this done, run

yarn dev || npm run dev - to run in development mode
yarn start || npm run start - to run in production mode

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Node.js backend for eCommerce platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published