Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dulangadasanayake/react-ecommerce-market
E-commerce web app using Mern stack and Tailwind css
https://github.com/dulangadasanayake/react-ecommerce-market
e-commerce e-commerce-app ecommerce ecommerce-application ecommerce-platform ecommerce-website hardware store
Last synced: about 2 months ago
JSON representation
E-commerce web app using Mern stack and Tailwind css
- Host: GitHub
- URL: https://github.com/dulangadasanayake/react-ecommerce-market
- Owner: DulangaDasanayake
- License: other
- Created: 2024-03-26T13:52:23.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-08T12:25:04.000Z (9 months ago)
- Last Synced: 2024-10-12T11:27:30.978Z (3 months ago)
- Topics: e-commerce, e-commerce-app, ecommerce, ecommerce-application, ecommerce-platform, ecommerce-website, hardware, store
- Language: JavaScript
- Homepage:
- Size: 155 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MERN SHOP
Remember to give me your generous ⭐ Thanks you so much !!!
🛒🚀 Full-stack E-commerce web application built with the MERN stack(MongoDB,Express,React & Node), Tailwind CSS, Firebase Auth, and hosted on Render.com Browse, shop, and checkout with ease!
## 📋 Table of Contents
- [🚀 Features](#-features)
- [🛠️ Technologies Used](#️-technologies-used)
- [🔧 Installation](#-installation)
- [💻 Usage](#-usage)
- [🤝 Contributing](#-contributing)
- [📝 License](#-license)## 🚀 Features
- User authentication and authorization using Firebase.
- Browse products by category.
- Add products to the shopping cart.
- Update and remove items from the cart.
- Secure checkout process with payment integration.
- User profile with order history.## 🛠️ Technologies Used
- **Frontend:**
- React.js
- Redux for state management
- React Router for navigation
- Tailwind CSS for styling- **Backend:**
- Node.js
- Express.js for middleware
- Mongoose for object modeling
- JSON Web Tokens (JWT) for authentication- **Database** 📊
- MongoDB for product & user detail storing
- Firebase for authentication- **Authentication:**
- Firebase Authentication for Google authentication
- **Hosting:**
- Render.com for deployment and hosting
- Web App Demo Link: 🔗
- I'm Sending My Regards for the Render.com for providing free hosting feature.
- It is so much helpful for teachers and students work with IT Industry.## 🔧 Installation
1. **Clone the repository:**
```bash
git clone https://github.com/DulangaDasanayake/mern-shop-main.git
```2. **Navigate to the project directory:**
```bash
cd mern-shop-main
```3. **Install dependencies for both frontend and backend:**
```bash
cd client
npm install
cd ..
npm install
```4. **Set up environment variables:** ⚙️
Create a `.env` file in the `backend` directory and add the following variables:
```plaintext
PORT=5000
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
VITE_FIREBASE_API_KEY=your_vite_firebase_api_key
```Replace `your_mongodb_uri` with your MongoDB connection string and `your_jwt_secret` with a secret key for JWT.
## 💻 Usage
1. **Start the backend server:**
```bash
cd backend
npm start
```2. **Start the frontend development server:**
```bash
cd frontend
npm start
```3. **Open your browser and navigate to `http://localhost:3000` to view the application.**
## 🤝 Contributing
Contributors are welcome! If you'd like to contribute to this project, please follow these steps:
1. Fork the repository.
2. Create a new branch (`git checkout -b feature/new-feature`).
3. Make your changes.
4. Commit your changes (`git commit -am 'Add new feature'`).
5. Push to the branch (`git push origin feature/new-feature`).
6. Create a new Pull Request.## 📝 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---