Welcome to the E-Commerce CMS Frontend built with the MERN stack! This project is designed to provide a flexible and scalable frontend for managing e-commerce content. Please follow the instructions below to get started.
These instructions will help you set up and run the frontend of the E-Commerce CMS.
Before you begin, ensure you have met the following requirements:
- Node.js and npm (Node Package Manager) installed on your machine.
- The E-Commerce CMS Backend API is set up and running. Make sure you have its URL.
-
Clone this repository to your local machine:
git clone https://github.com/Sushmzn9/e_commerce-cms.git
-
Navigate to the project directory:
cd e_commerce-cms
-
Install the project dependencies:
npm install
-
Create a
.env
file in the root directory and define the following environment variable with the backend API URL:REACT_APP_API_URL=YOUR_BACKEND_API_URL_HERE
-
Start the development server:
npm start
The frontend should now be running at http://localhost:3000
.
-
Access the application by opening your web browser and navigating to
http://localhost:3000
. -
You will need to sign in to access the CMS features. If you don't have an account, there should be a registration option available.
-
Once logged in, you can use the CMS to manage e-commerce content, such as products, categories, and orders.
We welcome contributions to improve this project. To contribute, follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix:
git checkout -b feature/my-feature
-
Make your changes and commit them with descriptive messages:
git commit -m "Add new feature: my feature"
-
Push your changes to your fork:
git push origin feature/my-feature
-
Open a pull request to the
main
branch of the original repository. -
Your pull request will be reviewed, and your changes may be merged.