Skip to content

This repository contains the backend code for our E-commerce platform,built using the MERN stack. It efficiently handles API endpoints, manages database interactions, and ensures secure user authentication. The server is designed to seamlessly integrate with the front-end, providing a robust foundation for a scalable and responsive online shopping.

Notifications You must be signed in to change notification settings

Azeem-0/EasyShopifyServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyShopify Server

EasyShopify Server is the backend for the EasyShopify E-commerce web application, built on the MERN stack. This server handles all API endpoints, database interactions, and user authentication, providing a robust and scalable foundation for the application. Performance is optimized with Redis caching, and secure user authentication and authorization are ensured using JWT.

Technical Stack

Backend:

  • Node.js
  • Express.js
  • Redis
  • Socket.io

Database:

  • MongoDB
  • Mongoose

Session Management:

  • JWT (JSON Web Token)

Features

  • Handles API endpoints for product management, user accounts, and orders.
  • Implements user authentication and authorization with JWT.
  • Optimizes performance with Redis caching.
  • Supports real-time product sharing with reactions using Socket.io.
  • Provides an instant reorder functionality for users.

Installation

  1. Clone the repository:

    git clone https://github.com/Azeem-0/EasyShopifyServer.git
  2. Install dependencies:

    cd server
    npm install
  3. Set up environment variables:

    • Create a .env file in the root directory and add the necessary variables (e.g., MongoDB URI, JWT secret).
  4. Run the application:

    npm run start
  5. Access the application:

About

This repository contains the backend code for our E-commerce platform,built using the MERN stack. It efficiently handles API endpoints, manages database interactions, and ensures secure user authentication. The server is designed to seamlessly integrate with the front-end, providing a robust foundation for a scalable and responsive online shopping.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published