Skip to content

iamsanjaymalakar/node-ecommerce

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

eCommerce

An eCommerce website created with NodeJS.
View Demo
https://ecommerce99.herokuapp.com/

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contact
  4. Acknowledgements

About The Project

Product Name Screen Shot

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

Built With

Getting Started

Prerequisites

  • npm
    npm install npm@latest -g

Installation

  1. Get a free API Key for Stripe, SendGrid
  2. Clone the repo
    git clone https://github.com/iamsanjaymalakar/node-ecommerce.git
  3. Install NPM packages
    npm install
  4. 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"
     }
  5. Run the project using npm
    npm start

Contact

Sanjay Malakar - @19malakar - iamsanjaymalakar@gmail.com

Project Link: https://github.com/iamsanjaymalakar/node-ecommerce


Acknowledgements