A full-stack ecommerce web application built using the MERN (MongoDB, Express.js, React, Node.js) stack. It is designed to provide a seamless online shopping experience for both customers and administrators. With UrbanCart, you can easily create and manage your online store, list products, handle customer orders, and more.
Follow these steps to set up and run the MERN Ecommerce website locally:
Step 1: Clone the Repository
git clone https://github.com/Shreedhar03/UrbanCart.git
Step 2: Install the server-side dependencies using npm:
npm install
Step 3: Navigate to the client directory and install the server-side dependencies using npm:
cd client
npm install
Step 4: Configure Environment Variables : Create a .env file in the root & client directory and set the required environment variables. You'll need to configure the MongoDB connection, JWT secret, and other settings.
Step 5: In the client directory, start the React development server:
npm start
Step 6: In the root folder, start the Backend server:
nodemon app
UrbanCart should now be running locally! You can access it in your web browser at http://localhost:3000