Skip to content

etelan/TrainBlock-Springboot-with-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published