Skip to content

povfarwa/Scatch-E-commerance-

Repository files navigation

🛍️ Scatch E-Commerce Website

A full-stack e-commerce web application with authentication and admin control.

🛍️ E-Commerce Website

An online shopping web application where users can create accounts, login, browse products, and add items to their cart.
Admins can create and manage products.


🚀 Features

👤 User Features

  • Create Account (Sign Up)
  • Login Authentication
  • View Products
  • Add to Cart
  • Secure Session Handling

🛠️ Admin Features

  • Add New Products
  • Manage Product Listings
  • Backend Product Control

🏗️ Tech Stack

  • Node.js
  • Express.js
  • EJS
  • MongoDB
  • JWT Authentication
  • Bcrypt (Password Hashing)
  • Tailwind CSS

📂 Project Structure

e-commerce-website/ │── models/ │── routes/ │── views/ │── public/ │── app.js │── package.json


🔐 Authentication

  • Passwords are securely hashed using bcrypt
  • User authentication handled using JWT tokens
  • Session-based access control

🛒 How It Works

  1. User creates an account.
  2. User logs in.
  3. Products are displayed from database.
  4. User adds products to cart.
  5. Admin can create new products from backend.

⚙️ Installation

git clone https://github.com/yourusername/your-repo-name.git
cd your-repo-name
npm install
npm start

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors