Skip to content

A full-stack web application built using the MERN stack. It includes features like JWT-based authentication, Redis caching, Razorpay payment integration, and Cloudinary for media management. The project demonstrates a scalable architecture with a secure backend and responsive frontend.

License

Notifications You must be signed in to change notification settings

hamzathul/Shopping-Cart-with-Redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping Cart

A MERN stack application that combines a robust, scalable backend with an intuitive and responsive frontend. The application incorporates advanced features like JWT-based authentication, Redis caching, Razorpay integration for seamless payments, and Cloudinary for efficient media storage and delivery.


View Demo · Report Bug · Request Feature


Installation

1.Clone this Repository

  git clone https://github.com/hamzathul/Shopping-Cart-with-Redis.git

2.Navigate to the project folder:

  cd Shopping-Cart-with-Redis

To run this project, add the following environment variables to your .env file in the root directory of this project.
So, create a '.env' file, and add the following:

NODE_ENV = development

PORT = 5000

MONGO_URI = <your-mongodb-uri>

UPSTASH_REDIS_URL = <your-redis-url>

ACCESS_TOKEN_SECRET = <your-access-token-secret>

REFRESH_TOKEN_SECRET = <your-refresh-token-secret>

CLOUDINARY_CLOUD_NAME = <your-cloudinary-cloud-name>

CLOUDINARY_API_KEY = <your-cloudinary-api-key>

CLOUDINARY_API_SECRET = <your-cloudinary-api-secret>

RAZORPAY_KEY_ID = <your-razorpay-key-id>

RAZORPAY_KEY_SECRET = <your-razorpay-key-secret>

3.Install dependencies for the backend and run backend server:

  yarn install
  yarn run dev

The backend will run on http://localhost:5000.

4.Install dependencies for the frontend and run frontend server:

  cd frontend
  yarn install
  yarn dev

The frontend will run on http://localhost:5173.

Now you can open your browser and go to http://localhost:5173 to view the application.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A full-stack web application built using the MERN stack. It includes features like JWT-based authentication, Redis caching, Razorpay payment integration, and Cloudinary for media management. The project demonstrates a scalable architecture with a secure backend and responsive frontend.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages