Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.36 KB

File metadata and controls

30 lines (23 loc) · 1.36 KB

PostgresqlAndSpringBoot

This project allows us to take requests from our minecraft server, using the OpenComputers ImersiveRailroading api.

Front End

This is the Front End Github Repo.
And the actual hosted site I will make this interface with this backend soon, and connect up the menu with the different pages.

It is unsurprisingly modelled on the Trainline Site

Supported Methods

This is laid out like the following. /addTrain?tag="skjdha"&station="Mars"&passHash="skdasSKLJdsD48298SnSDJnK"

addTrain tag station passHash
showAll passHash
countTrains passHash
noperms
findTrainById id passHash
updateTrainById id passHash stationName
deleteTrain passHash id

passHash

This api requires a hash to work, and I would strongly advise you change the hash for each of the CRUD permissions before cloning this project and using it yourself.

Why did you make this

I wanted to learn springboot, and have more experiences with databases.
In previous projects I was having difficulty closing the database connection, now, springboot handles it all for us using repositories.
Additionally, I wanted to make a cool tracker for the minecraft server I play on.