Skip to content

Spring Boot Monolith API to handle the logic of the Planner application. The Planner application is a web and mobile based application that allow users to create a trip plan with friends

Notifications You must be signed in to change notification settings

vickttor/nlw_journey_planner_java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planner 📅

RestFull monolith API using Spring Boot. This API handles the logic of a web and mobile based application called Planner. The Planner application is used to create travel plans. It stores trips information such as important links, activities to be realized and participants.

This project was built during the Rocketseat NLW Journey, a 3-day event to learn a new stack.

Status 🏗️

  • Base version finished!
    • Under improvement 🚀

Tech Stack

  • Java 17
  • Maven
  • Spring Boot
  • Lombok
  • Fly Way
  • Postgres SQL
  • Hibernate JPA
  • Spring Boot DevTools
  • Docker

How to run

Install the git CLI into your machine and clone this repository by using HTTPS or SSH:

# HTTPS
git clone https://github.com/vickttor/nlw_journey_planner_java.git

# SSH
git clone git@github.com:vickttor/nlw_journey_planner_java.git 

Install the Docker and run the following command:

docker compose up -d

This command will execute the steps of the compose.yaml file execute both API and PostgreSQL database. To stop the execution, run:

docker compose down

Improvements

  • Add validation to datetime properties
  • Extract the core logic of the Trips controller and add into a Service Class.
  • Implement Exception handlers do avoid the return of 500 server errors
  • Implement Postgres as the main database by using docker and docker compose
  • Create a compose.yaml file to execute the API and create the database with only one command.
    docker compose up -d
  • implement sending emails to trip participants

Author

Victor

Victor H. Silva🚀


About

Spring Boot Monolith API to handle the logic of the Planner application. The Planner application is a web and mobile based application that allow users to create a trip plan with friends

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published