Skip to content

mr-robot-abhi/E-Commerce_MERN_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

E-Commerce Store πŸ›’

Features and Tech Stack Used

  • πŸš€ Project Setup: Laying the foundation for your application.
  • πŸ—„οΈ MongoDB & Redis Integration: Efficient database and caching solutions.
  • πŸ’³ Stripe Payment Setup: Seamless and secure payment processing.
  • πŸ” Robust Authentication System: Ensure user data and sessions are secure.
  • πŸ”‘ JWT with Refresh/Access Tokens: Token-based authentication for scalable systems.
  • πŸ“ User Signup & Login: Core user management functionality.
  • πŸ›’ E-Commerce Core Features: Build essential functionalities like products and categories.
  • πŸ“¦ Product & Category Management: Easy product and inventory control.
  • πŸ›οΈ Shopping Cart Functionality: Intuitive cart operations.
  • πŸ’° Checkout with Stripe: Secure and user-friendly payment flow.
  • 🏷️ Coupon Code System: Incentivize purchases with discounts.
  • πŸ‘‘ Admin Dashboard: Manage your store with an intuitive admin interface.
  • πŸ“Š Sales Analytics: Gain insights with visualized data.
  • 🎨 Design with Tailwind: Create stunning, responsive UIs.
  • πŸ”’ Security: Build a safe environment for users.
  • πŸ›‘οΈ Data Protection: Ensure compliance with data security standards.
  • πŸš€ Caching with Redis: Boost performance with caching strategies.
  • βŒ› And much more!

Environment Variables Configuration

Create a .env file in the root of your project and configure it as follows:

PORT=5000
MONGO_URI=your_mongo_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_cloud_name
CLOUDINARY_API_KEY=your_api_key
CLOUDINARY_API_SECRET=your_api_secret
STRIPE_SECRET_KEY=your_stripe_secret_key
CLIENT_URL=http://localhost:5173
NODE_ENV=development

Running the Application Locally

Step 1: Build the Application

Run the following command to prepare your application:

npm run build

Step 2: Start the Application

Once built, start the server with:

npm run start

Your application will now be live at http://localhost:5000 (default port).


Demo App Demo App

Thanks to you: As a programmer for the tutorial. Watch the Video Tutorial on YouTube

Start building your dream E-Commerce store today! πŸš€

About

An E-commerce application built using MERN Stack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages