Skip to content

Backend service for Pizza Parlor project in MISSA's Information Technology Competition.

License

ITC-error505/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend for Pizza Parlor's mobile website

About

The backend endpoints for Information Technology Competition. These are paired together with the frontend.

API reference

POST account/login
body: String username, String password
returns (success 200 and JWT with id field or 400 fail)

POST account/register
body: String username, String password
returns (success 200 or 400 fail)

POST /score/post
body: int score, int gameId
bearerToken NameIdentifier: string accountId (tokenized string)
returns (success 200 or 400 fail)

GET /score/leaderboard
query string: int gameId
returns a list of {string username, int score, int rank}

GET /score/highScore
query string: int gameId
bearerToken NameIdentifier: string accountId (tokennized string)
return {int highScore, int rank}

GET /games/all
query string:
return a list of {int id, string name}

About

Backend service for Pizza Parlor project in MISSA's Information Technology Competition.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published