An eCommerce website created with NodeJS.
View Demo
https://ecommerce99.herokuapp.com/
Table of Contents
This was created while learning NodeJS from a Udemy course (NodeJS - The Complete Guide (MVC, REST APIs, GraphQL, Deno)). I learned
- NodeJS
- ExpressJS
- Templating Engines
- Routing
- Sequelize
- Mongoose
- Express Sessions
- Authentication
- Stripe
- npm
npm install npm@latest -g
- Get a free API Key for Stripe, SendGrid
- Clone the repo
git clone https://github.com/iamsanjaymalakar/node-ecommerce.git
- Install NPM packages
npm install
- Setup your API keys for variables in
environtment_vars.txt
. I have used environment variables to set up my API keys.{ "MONGO_USER": "xxxxxx", "MONGO_PASSWORD": "xxxxxxxxxxxx", "MONGO_DATABASE": "xxxxxxxxxxxx", "SESSION_SECRET": "xxxxxxxxxxxx", "STRIPE_KEY": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "SENDGRID_API_KEY": "SG.xxxxxxxxxxxx.xxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx" }
- Run the project using npm
npm start
Sanjay Malakar - @19malakar - [email protected]
Project Link: https://github.com/iamsanjaymalakar/node-ecommerce