Skip to content

manishpxl/green-garden-mern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌿 Green Garden - MERN Stack E-Commerce Application

Green Garden is a full-stack MERN application designed to provide an online platform for browsing and purchasing garden-related products. It includes user authentication, product management, cart functionality, and order management with a responsive UI.


🚀 Tech Stack

Frontend

  • React.js
  • HTML5
  • CSS3
  • JavaScript
  • Axios

Backend

  • Node.js
  • Express.js

Database

  • MongoDB
  • Mongoose

Tools

  • Git
  • GitHub
  • Thunder Client
  • VS Code

📂 Project Structure

green-garden-mern
│
├── frontend        # React frontend
│   ├── src
│   ├── public
│   └── package.json
│
├── backend         # Node.js / Express API
│   ├── controllers
│   ├── models
│   ├── routes
│   ├── middleware
│   └── server.js
│
└── README.md

✨ Features

  • User Registration and Login
  • Secure Authentication (JWT)
  • Product Listing
  • Add to Cart functionality
  • Order Management
  • Responsive UI
  • REST API Integration

⚙️ Installation and Setup

1️⃣ Clone the Repository

git clone https://github.com/manishpxl/green-garden-mern.git
cd green-garden-mern

2️⃣ Install Backend Dependencies

cd backend
npm install
npm start

Backend server will run on:

http://localhost:5000

3️⃣ Install Frontend Dependencies

cd frontend
npm install
npm start

Frontend will run on:

http://localhost:3000

🔐 Environment Variables

Create a .env file inside the backend folder.

Example:

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key

🌐 Deployment

Frontend can be deployed using Vercel / Netlify and backend using Render / Railway with MongoDB Atlas as the database.


🤝 Contributing

Contributions are welcome!

If you would like to contribute to this project:

  1. Fork the repository
  2. Create your feature branch
git checkout -b feature/your-feature-name
  1. Commit your changes
git commit -m "Add your feature"
  1. Push to the branch
git push origin feature/your-feature-name
  1. Open a Pull Request

👨‍💻 Author

Manish Kumar

GitHub: https://github.com/manishpxl
LinkedIn: https://www.linkedin.com/in/manish-kumar-7b0535229/


⭐ Support

If you found this project helpful, please consider giving it a star ⭐ on GitHub.


📜 License

This project is open-source and available for learning and development purposes.

About

Full Stack MERN E-Commerce application with authentication, product management, cart system, and order management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors