This repository was archived by the owner on Jun 29, 2022. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork0
seatcode/tripengine
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Test Backend for the 4YFN Hackathon
This is a basic web service for bus trips and stops written in kotlin. It manages three entities: Users, Trips and Stops.
- User: Can be DRIVER or PASSENGER. DRIVER users can create trips. PASSENGER users can ask for stops in the trip.
- Trip: Created by a DRIVER, contains an origin and destination and the route bewteen those two. Can have STOPS.
- Stop: Created by a PASSENGER, represents a point in the TRIP route where the user want to get off the TRIP. Can be REQUESTED, ACCEPTED, REJECTED or CANCELLED. The PASSENGER requests the STOP, the DRIVER accepts or rejects that requested STOP or the same PASSENGER cancels it.
This is a maven spring boot based service, so running the main class or running the commandmvn spring-boot:run will start the service locally.
To see the API documentantio run the service and accesshttp://localhost:8080/swagger-ui.html
About
Test Backend for the 4YFN Hackathon
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.