Farmaid is a robust full-stack web application designed to bridge the gap between farmers and financial institutions. It simplifies the complexity of agricultural loan management by providing a digital platform where farmers can apply for loans and track status while administrators can verify and approve requests efficiently.
The project is built using a RESTful API architecture with Spring Boot serving the backend and Angular delivering a responsive and dynamic frontend experience.
- Secure Registration & Login: JWT-based authentication.
- Loan Application: Easy-to-use forms to apply for crop, equipment, or land loans.
- Status Tracking: Real-time updates on application status (Pending, Approved, Rejected).
- Admin Dashboard: Overview of total applications, active loans, and disbursements.
- Application Verification: Review farmer documents and loan details.
- Approval Workflow: Approve or reject loans with remarks.
- Farmer Management: View and manage registered farmer details.
| Layer | Technology |
|---|---|
| Frontend | Angular, TypeScript, HTML5, CSS3, Bootstrap/Tailwind |
| Backend | Java 17, Spring Boot 3, Spring Security |
| Database | MySQL |
| Build Tools | Maven (Backend), NPM (Frontend) |
| Tools | Postman (API Testing), Git |
Follow these steps to set up the project locally.
- Java JDK 17+
- Node.js & NPM
- MySQL Server
- Angular CLI (
npm install -g @angular/cli)
- Open your MySQL Workbench or Terminal.
- Create a database named
farmaid_db(or whatever you named it in properties).CREATE DATABASE farmaid_db;
- (Optional) The tables will be auto-generated by Hibernate, or you can import the
schema.sqlif provided.
- Navigate to the backend folder:
cd springapp - Open
src/main/resources/application.propertiesand update your MySQL credentials:spring.datasource.url=jdbc:mysql://localhost:3306/farmaid_db spring.datasource.username=YOUR_USERNAME (e.g., root) spring.datasource.password=YOUR_PASSWORD spring.jpa.hibernate.ddl-auto=update
- Run the application:
The backend server will start at
mvn spring-boot:run
http://localhost:8080
- Navigate to the frontend folder:
cd angularapp - Install dependencies:
npm install
- Start the Angular development server:
ng serve
- Open your browser and navigate to
http://localhost:4200.
Divyanshu Pandey