RR Farming is an E-Commerce platform developed for a local client. The platform aims to offer an online marketplace for purchasing a variety of products, such as rabbit meat, organic vegetables, chicken meat, and eggs.
RR Farming is designed to provide a seamless online shopping experience for customers looking to buy fresh, organic, and locally-sourced products. The platform supports a range of products and ensures secure transactions and user satisfaction.
- User registration and login
- Product browsing and searching
- Shopping cart and checkout
- Admin panel for managing products and orders
- React: JavaScript library for building user interfaces
- HTML/CSS: Markup and styling
- Vercel: Deployment platform
- Node.js: JavaScript runtime
- Express: Web framework for Node.js
- MongoDB: NoSQL database
To run the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/mrahmadhassankhan/RR-Farming
-
Navigate to the project directory:
cd RR-Farming
-
Install dependencies for both frontend ,backend and admin as well:
cd admin npm i cd.. cd frontend npm i cd.. cd backend npm i
-
Create a
.env
file in the backend directory and add your environment variables:DB_URI=your_mongo_database_uri JWT_SECRET=your_jwt_secret
-
Start the backend server:
cd backend npm run dev
-
Start the frontend server:
cd frontend npm start
-
Start the Admin Panel:
cd admin npm start
The frontend of the application is deployed on Vercel and can be accessed here.
To use the application locally, navigate to http://localhost:6464
for the frontend and http://localhost:1783
for the backend and lastly for admin panel http://localhost:6463
.
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature
) - Open a pull request
Distributed under the MIT License. See LICENSE
for more information.
Ahmad Hassan Khan - mrahmadhassankhan - [email protected]
Project Link: https://github.com/mrahmadhassankhan/RR-Farming