This project is a Spring Boot application for managing transporters using PostgreSQL as the database.
- Java Development Kit (JDK) installed
- Apache Maven installed
- PostgreSQL installed and running locally
-
Clone the repository:
git clone https://github.com/yourusername/transporter-management.git
Navigate to the project directory:
bash Copy code cd transporter-management Open the application.properties file located in src/main/resources and update the database connection details:
properties Copy code spring.datasource.url=jdbc:postgresql://localhost:5432/your_database_name spring.datasource.username=your_username spring.datasource.password=your_password Run the application:
bash Copy code mvn spring-boot:run Access the application in your browser at http://localhost:8080/api/transporters.
API Endpoints GET /api/transporters: Retrieve all transporters. Add more endpoints as needed for CRUD operations on transporters.