Skip to content

Pawo0/e-comerce-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shop application

A responsive web-based e-commerce platform built using JavaScript frameworks like React and Material UI for front-end and express with mongodb database as backed. Main aplication features - user login/register, searching for products and adding them to cart.

Table of Contents

Preview

mainPage search responieves password product reviews cart

Geting started

You need to have installed

  • Node.js (lts)

And create mongodb database https://www.mongodb.com/resources/products/platform/mongodb-atlas-tutorial

Usage

In server directory crate fite .env and write in it

MONGODB_URI=mongodb+srv://<username>:<password>@shopdatabase.ozyp7.mongodb.net/<dbname>?retryWrites=true&w=majority&appName=<appname>
JWT_SECRET=secretPassword

open terminal and write

git clone https://github.com/Pawo0/Shop.git
cd Shop
npm install
node server/createDB/initializeDB.js 
npm start

next go to http://localhost:5173

Features

  • User login/register with JWT
  • Updating account
  • Adding product to cart
  • Adding review to a product
  • Order history
  • Responsive site

Used technology

  • TypeScript
  • React 18
  • React router
  • Material UI - components library
  • Express
  • Mongoose
  • JsonWebToken
  • Axios

License

MIT License. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published