Skip to content

navinshahi/LaboursHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaboursHub

Find trusted labours in your city

About this project

Overview

Labour Hub is a web platform that connects labor professionals with users seeking their services. The application allows laborers to register, manage their profiles, and be discoverable by users in the same city. Users can register, log in, search for available laborers in their area, and contact them for work opportunities.

Key Features

1. Labour Registration & Login:

Labor professionals can register, log in, and update their profile details like name, skills, experience, and city.

2. User Registration & Login:

Normal users can create accounts, browse available laborers, and view profiles based on their selected city.

3. Profile Management:

Each registered user or laborer can update their personal details and profile picture.

4. City-Based Search:

Users can easily search and view laborers located within their city.

5. Secure Authentication:

Implemented JWT (JSON Web Token) for secure login and access control between frontend and backend.

6. Responsive Interface:

Frontend designed with React.js for an interactive and mobile-friendly experience.

Technology Stack

1. Frontend

Framework: React.js

UI Design: Bootstrap & CSS

API Integration: Axios used for communication with the backend REST APIs

2. Backend

Framework: Spring Boot

Security: JWT Authentication for token-based login protection

Database: MySQL for persistent data storage

ORM: Spring Data JPA for database operations

REST APIs: Developed various endpoints for registration, authentication, profile management, and data retrieval


System Architecture

1. Frontend (React):

Handles user interaction, routing between pages, and communicates with backend APIs using Axios.

2. Backend (Spring Boot):

Manages authentication, authorization, data validation, and API responses.

3. Database (MySQL):

Stores user and labor profiles, credentials, and application data.

API Integration Flow

1. The React frontend sends user actions (login, registration, search requests) via REST API calls.

2. The Spring Boot backend validates requests and generates JWT tokens for authenticated sessions.

3. Protected endpoints require a valid JWT token in the request headers.

4. MySQL stores all user and labor data, managed through JPA repositories.


Future Enhancements

1. Implement geolocation-based search instead of manual city input.

2. Add user reviews and ratings for labor professionals.

3. Enable direct messaging or chat between users and labors.

4. Deploy on cloud platforms (e.g., AWS, Azure) for production use.


Screenshots:-

About

Find trusted labours in your city

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published