This is a fully functional E-commerce website built using the MERN stack with SQL as the database. The platform enables users to browse products, add them to a cart, make secure payments, and manage orders.
- User Authentication: Register and log in using secure authentication.
- Product Browsing: View product listings with details such as price, description, and category.
- Cart Functionality: Add products to the cart, update quantities, or remove items.
- Order Management: Place orders and view order history.
- Add, edit, or remove products.
- Manage orders.
- View sales data.
- SQL Integration: Structured storage and management of data.
- React.js
- Redux (State Management)
- TailwindCSS
- Node.js
- Express.js
- SQL(MySQL)
- JWT Authentication
- Payment Gateway Integration (Khalti)
- RESTful APIs
- Node.js installed
- SQL database setup (MySQL)
git clone https://github.com/yogendrabaskota/nodeEcommerce.git - Create .env file
DB_NAME = NAME_OF_DATABASE
DB_USERNAME = USERNAME_OF_DATABASE
DB_PASSWORD = PASSWORD_OF_DATABASE
DB_HOST = HOST_ADDRESS
DB_PORT = PORT_NUMBER(default 3306)
SECRET_KEY = SECRET_KEY_OF_JWT
- To install required packages
npm install
- TO run server
npm start
- clone Frontend repository by using following command
git clone https://github.com/yogendrabaskota/nodeEcommerce.git
- To install required packages
npm install
- To run project
npm run dev
To get API documentation, click Here
If you have any feedback, please reach out to me at [email protected]