Skip to content

jknowles94/centurions-major-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API for getting data for centurions majors

To run the server locally Yarn start

Todo

Add typescript to app for better error handling and my own sanity

API structure

GET: api/users GET: api/events GET: api/event/:id POST: api/event

Required fields for creating an event:

{
  name: String,
  winner_id: Number,
  results: [ResultsObject]
}
Results Object should look like:
{
    user_id: Number,
    gross_score: Number,
    net_score: Number || null,
    points: Number
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published