Skip to content

mutheusalmeida/viamao-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ViaMão REST API

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.

Features & Technologies

  • Spring Security
  • Lombok
  • Flyway
  • Authentication
  • Create, read, update, and delete a trip
  • Add, update, and delete places to visit

API Reference

Get all trips

  GET /trips

Get trip

  GET /trip/${id}
Parameter Type Description
id Long Required. Id of the trip.

Create 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.

Add place to visit

  POST /trips/${id}/places
Body Type Description
name String Required. The name of the place.
description String Required. The description of the place.

Documentation

For a better understanding of the API, see the Swagger Documentation.

Authors

About

ViaMão Rest API built with Java and Spring Boot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages