A full-stack e-commerce web application with authentication and admin control.
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.
- Create Account (Sign Up)
- Login Authentication
- View Products
- Add to Cart
- Secure Session Handling
- Add New Products
- Manage Product Listings
- Backend Product Control
- Node.js
- Express.js
- EJS
- MongoDB
- JWT Authentication
- Bcrypt (Password Hashing)
- Tailwind CSS
e-commerce-website/ │── models/ │── routes/ │── views/ │── public/ │── app.js │── package.json
- Passwords are securely hashed using bcrypt
- User authentication handled using JWT tokens
- Session-based access control
- User creates an account.
- User logs in.
- Products are displayed from database.
- User adds products to cart.
- Admin can create new products from backend.
git clone https://github.com/yourusername/your-repo-name.git
cd your-repo-name
npm install
npm start