ViaMão is a travel planner application built to help users manage their trips. This API was built with Java, Spring Boot, and MySQL to be consumed by ViaMão front-end application.
- Spring Security
- Lombok
- Flyway
- Authentication
- Create, read, update, and delete a trip
- Add, update, and delete places to visit
GET /trips
GET /trip/${id}
Parameter | Type | Description |
---|---|---|
id |
Long |
Required. Id of the trip. |
POST /trips
Body | Type | Description |
---|---|---|
title |
String |
Required. The title of the trip. |
description |
String |
Required. The description of the trip. |
destination |
String |
Required. The destination of the trip. |
start_date |
LocalDate |
Required. The start date of the trip. |
end_date |
LocalDate |
Required. The end date of the trip. |
POST /trips/${id}/places
Body | Type | Description |
---|---|---|
name |
String |
Required. The name of the place. |
description |
String |
Required. The description of the place. |
For a better understanding of the API, see the Swagger Documentation.