Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 29, 2022. It is now read-only.
/tripenginePublic archive

Test Backend for the 4YFN Hackathon

NotificationsYou must be signed in to change notification settings

seatcode/tripengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Test Backend for the 4YFN Hackathon

Project description

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.

Run the project

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.

API Documentation

To see the API documentantio run the service and accesshttp://localhost:8080/swagger-ui.html

About

Test Backend for the 4YFN Hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp