MERN_Stack_Project_Ecommerce_Hayroo screenshot

MERN_Stack_Project_Ecommerce_Hayroo

Author Avatar Theme by Hasan py
Updated: 18 Aug 2024
846 Stars

E-commerce Website | Payment gateway | Reactjs | Nodejs | Mongodb | Expressjs | JWT | Tailwind Css

Categories

Overview:

The project is a web app that requires NPM / Yarn and Node.js installed. It includes both client and server components, with instructions on setting up the environment variables and deploying the backend server using render.com. The deployment includes using MongoDB Atlas for the database and rendering the project on the Render platform.

Features:

  • Local Development: Ability to run the project on a local machine for development and testing purposes.
  • Environment Variables: Instructions on setting up environment variables for the server component.
  • Deployment on Render: Step-by-step guide on deploying the backend server using the Render platform.
  • Database Setup: Guidance on configuring the database to use MongoDB Atlas for deployment.
  • Branch Management: Specific instructions on managing branches for deployment and environment variable changes.
  • Render Setup: Detailed steps on setting up the project on the Render platform.

Installation:

  1. Install NPM modules on both client and server folders using the following commands:
npm install
  1. Open a terminal on the server directory and another terminal on the client directory.
  2. Access the web app at http://localhost:3000/.
  3. Follow the detailed steps provided for deploying the backend server on the Render platform, including setting up the MongoDB Atlas database and managing environment variables.

Summary:

The project provides a comprehensive guide for setting up and deploying a web application locally and on the Render platform. It emphasizes the importance of environment variables, database configuration, and branch management for successful deployment. With clear instructions and step-by-step guidance, users can easily build and deploy their web projects following this documentation.