Skip to content

yogendrabaskota/Cartza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce

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.

Features:

  • 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.

Admin Panel:

  • Add, edit, or remove products.
  • Manage orders.
  • View sales data.
  • SQL Integration: Structured storage and management of data.

Tech Stack:

Frontend:

  • React.js
  • Redux (State Management)
  • TailwindCSS

Backend:

  • Node.js
  • Express.js

Database:

  • SQL(MySQL)

Additional Features

  • JWT Authentication
  • Payment Gateway Integration (Khalti)
  • RESTful APIs

🚀 Installation

Prerequisites:

  • Node.js installed
  • SQL database setup (MySQL)

Steps to Run:

To Run Backend Server

1. Clone the repository

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

To Run Frontend

  • 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

Feedback

If you have any feedback, please reach out to me at [email protected]

About

An E-commerce platform, which allow users to browse product, add them to cart, make secure payment and manage their orders.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors