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.
Backend:
- Node.js
- Express.js
- Redis
- Socket.io
Database:
- MongoDB
- Mongoose
Session Management:
- JWT (JSON Web Token)
- 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.
-
Clone the repository:
git clone https://github.com/Azeem-0/EasyShopifyServer.git
-
Install dependencies:
cd server npm install
-
Set up environment variables:
- Create a .env file in the root directory and add the necessary variables (e.g., MongoDB URI, JWT secret).
-
Run the application:
npm run start
-
Access the application:
- Visit http://localhost:3000 in your browser.