E-commerce Project README Overview This is a full-stack E-commerce project built using Create React App for the frontend and Express for the backend. The project implements authentication using JSON Web Tokens and bcryptjs.
Features Display products Carousel for new arrivals Navbar for different major categories Shopping Cart (Add, Edit, and Delete Items in Cart) Discounted products supported Sorting, filtering for all products Admin CMS (create, edit, delete products. Update user) Getting Started Frontend To start the frontend, please run npm start
Backend To start the backend, please run npm run dev or npm start
Authentication The project uses JSON Web Tokens and bcryptjs for authentication. Here's a brief overview of how it works:
How it works When a user logs in, a JSON Web Token is generated and sent back to the client. The client stores the token and sends it with every request to the backend. The backend verifies the token and checks if it's valid before allowing access to protected routes.# PRODIGY_FS_03