Skip to content

chetan1357/Shopify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping Cart

Shopify is a site where a user can buy and review a product. In order to buy or review any product you must have an account.

This project was created using Node.js, Express, Mongoose, MongoDB and Bootstrap.

Passport.js was used to handle authentication.

Features

  • Users can create an account.
  • Users can also Add, Edit and Delete any product if username is "admin"
  • Users can post reviews on products.
  • Users can add products into a cart.
  • Users can buy products and their orders are visible on MyOrders page.
  • An admin can change the Order status of any user to Placed, Confirmed, Delivered, Completed.
  • Users can search products by Name.
  • Users can sort the products by highest rating, most reviewed, highest price or lowest price.

Run it locally

  1. Install mongodb
  2. Create an cloudinary account to make your API key and secret code.
  3. Run the below command to install all the necessary packages.

npm install

Create a .env file in the root directory of your project and do the following

CLOUDINARY_CLOUD_NAME= 'name'

CLOUDINARY_KEY='key'

CLOUDINARY_SECRET='secret'

Run the node app.js in the terminal of project.

Then go to localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published