8000 GitHub - JaymesKat/online-shop: An online shop built using Node and Express
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JaymesKat/online-shop

Repository files navigation

Online shop

This is a sample online shop that offers features such as product catalog, shopping cart, checkout and payments

Features

  • User Sign up and authentication
  • Password Reset
  • Product Catalog \w pagination
  • Shopping Cart and Checkout
  • Email Notifications
  • Image Uploads
  • Stripe Payment Integration

Getting Started

Follow instructions below to have a copy of this project up and running on your local machine for development and testing purposes.

Prerequisites

You will need to have the following software installed on your system

  • Nodejs, a JavaScript runtime that lets you run applications outside the browser
  • NPM, a package manager for Nodejs software packages (Comes with Node)
  • MongoDB installation
  • Stripe account (Test account will work)
  • Cloudinary account for image uploads
  • Sendgrid account

Installing

Clone the repository to your local machine

git clone https://github.com/JaymesKat/online-shop.git

Navigate into root of repository

cd online-shop

Install application dependencies

npm install

Create a .env file based on the .env.example file and populate following variables

SENDGRID_API_KEY=<sendgrid-api-key>
MONGO_DB_URI=<mongodb-connection-uri>
STRIPE_SECRET=<stripe-secret>
STRIPE_KEY=<stripe-api-key>
CLOUDINARY_CLOUD_NAME=<cloudinary-cloud-name>
CLOUDINARY_API_KEY=<cloudinary-api-key>
CLOUDINARY_API_SECRET=<cloudinary-api-secret>

NB: The MONGO_DB_URI should be populated to configure the app with a database. I recommend setting up one on Mongo Atlas which is easy to setup and provides a free tier.

Running the application

Run the command below in the project's root folder

npm start

Built With

License

This project is licensed under the MIT License

Acknowledgments

About

An online shop built using Node and Express

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0