Skip to content

gdlmartins/CASE1_COB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I'm Gabriel Martins

Glad to see you here!

CASE 1 - API COB. - BACKEND Api CASE 1 The Olimpic Games - Teste prático da EstanteVirtual

There are two modalities - 100m : the fastest ( seconds) Dart Throw: Longest distance wins (meters)

Create a competition Register results for a competition (all fields are mandatory), e

{ "competition": "100m qualifying 1", "name": "Joao das Neves", "value": "10,234" }

{ "competition": "Dart semifinal", "name": "Claudio", "value": "70.43"}

End a competition.

Return the competition ranking, displaying the final position of each athlete. Details: The API must not accept results entries if the competition is already closed. API may return partial ranking/result if dispute is not closed yet. In the case of the dart throwing competition, each athlete will have 3 chances, and the result of the competition must take into account the farthest throw of each athlete. The API design, as well as data input and output, is up to you, being one of the evaluation points. Return the competition ranking, displaying the final position of each athlete. Details: The API must not accept results entries if the competition is already closed. API may return partial ranking/result if dispute is not closed yet. In the case of the dart throwing competition, each athlete will have 3 chances, and the result of the competition must take into account the farthest throw of each athlete. The API design, as well as data input and output, is up to you, being one of the evaluation points. Tests are mandatory.


PostMan

https://documenter.getpostman.com/view/19294726/UyxohPcn

Front end to using React - still working in progress.I dit forfun in last on day.

Screen Shot 2022-05-22 at 10 58 38 pm

Screen Shot 2022-05-22 at 10 59 23 pm

https://cob_case1_gabriel_martins.surge.sh/competitor

HEROKU - API

Look at PostMan above for documentation and endpoints

main address api => https://case-1-cob.herokuapp.com


Languages and Tools

Used

TypeScript Express.js Git Node.js MySQL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors