The Farmers Market Place is a comprehensive e-commerce platform designed to connect farmers directly with consumers. This project aims to streamline the agricultural supply chain by providing a user-friendly interface for buying and selling farm-fresh produce and other agricultural goods.
The main repository for this project is located at: https://github.com/SID9927/CDAC_PROJECT.git
The repository contains multiple components of the Farmers Market Place project:
- Spring Boot Backend: Java-based backend application
- ASP.NET Core Backend: C#-based backend alternative
- React Frontend: Responsive web interface for users
All these components are saved in separate folders within the main repository.
- User Authentication (Admin, Farmer, Customer)
- Product Management
- Shopping Cart Functionality
- Order Processing
- Payment Integration
- User Profile Management
- Admin Dashboard
- Responsive Design
- API endpoints for farmers, products, stock details, and user interactions
- CORS support for multiple origins
- Swagger API documentation
- Global exception handling
-
Frontend:
- React.js
- Bootstrap
- React Router
- Axios (for HTTP requests)
-
Backend:
- Java (Spring Boot)
- ASP.NET Core (C#)
- MySQL Database
- Entity Framework Core (for .NET)
- Spring Data JPA (for Java)
-
Tools & Libraries:
- Maven (Java dependency management)
- Newtonsoft.Json (.NET)
- AutoMapper (.NET)
- Swagger (API documentation)
- Clone the repository:
git clone https://github.com/SID9927/CDAC_PROJECT.git
- Navigate to the project directory:
cd CDAC_PROJECT
- Ensure you have Java JDK 8 or higher installed
- Navigate to the Spring Boot project directory
- Run:
./mvnw spring-boot:run - Access the application at
http://localhost:9090
- Ensure you have .NET Core SDK installed
- Navigate to the ASP.NET Core project directory
- Run
dotnet restoreto install dependencies - Update connection strings in
appsettings.json - Run
dotnet runto start the application
- Navigate to the React project directory
- Run
npm installto install dependencies - Run
npm startto start the development server
For the ASP.NET Core backend, Swagger UI is available at the /swagger endpoint when running in development mode.
We welcome contributions to improve the Farmers Market Place. Please feel free to submit issues and pull requests to the main repository.
This project is licensed under the MIT License.
- React Bootstrap
- React Credit Cards
- React Hot Toast
- React Icons