Jansho-Mart

Jansho-Mart is a fully functional e-commerce website built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The application allows users to browse products, add them to their cart, and make purchases. The project includes both the frontend and backend, which work together to create a seamless shopping experience.

Stars
0
Committers
2

Jansho-Mart: E-commerce Website

Jansho-Mart is a fully functional e-commerce website built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The application allows users to browse products, add them to their cart, and make purchases. The project includes both the frontend and backend, which work together to create a seamless shopping experience.

Features

  • User authentication and authorization (JWT-based)
  • Product listing and search functionality
  • Shopping cart management
  • Order management
  • Admin dashboard for product and user management
  • Responsive design using Tailwind CSS
  • RESTful API for all backend operations

Tech Stack

  • Frontend: React.js, Tailwind CSS
  • Backend: Node.js, Express.js, MongoDB
  • Database: MongoDB
  • Authentication: JSON Web Tokens (JWT)

Installation

Clone the Repository

  git clone https://github.com/your-username/jansho-mart.git
  cd jansho-mart

Install Dependencies for backed

  cd backend
  npm install

for frontend

  cd ../frontend
  npm install

Environment Variables

Create .env files in both the frontend and backend directories.

Backend .env Example:

  PORT=
  MONGO_URI=
  JWT_SECRET=

Frontend .env Example:

  REACT_APP_API_URL=