The Simple MERN Project is a full-stack web application built using the ERN (Express.js, React.js, Node.js) stack. It provides a simple interface for users to add products with names and prices, which are then stored locally using localStorage
.
- Add new products with names and prices.
- Store product data locally using
localStorage
. - Simple and intuitive user interface.
- Built with modern web technologies.
-
Clone the repository:
git clone https://github.com/hafiz1379/simple-mern-project.git
-
Navigate to the project directory:
cd simple-mern-project
-
Install dependencies for both the frontend and backend:
cd frontend npm install cd ../backend npm install
-
Start the backend server:
npm start
-
Start the frontend development server:
cd ../frontend npm start
-
Open your web browser and visit
http://localhost:3000
to view the application.
- To add a new product, navigate to the "Add Product" page and enter the product name and price in the provided fields.
- Click the "Add Product" button to save the product locally.
- View all added products on the homepage.
- Express.js
- React.js
- Node.js
- HTML5
- CSS3
- JavaScript
Contributions are welcome! Feel free to fork the repository, make your changes, and submit a pull request.
For any inquiries or suggestions, please contact Hafizullah Rasa.