Using this starter repository, create endpoints that follow the outlined spec below utilizing Vercel's Node.js runtime: Vercel Docs
Once you have completed replacing the provided endpoints (as well as any of the sections of the FE portion of the challenge), there is a form link in the initial email you recieved. Fill out the questions, which should include urls to your forked sandbox (and your forked github repo if you do Part IV). Give a brief explanation of how it went and what challenges (if any) you faced. Also let us know roughly how long it took for you to complete the challenge. Speed is not what we are evaluating; we are evaluating the process as a whole and the effort it takes to complete it.
Good luck!
- Create a free Vercel account
- Install Vercel CLI
- Clone repository
- Run
npm install
(after ensuring that node, npm are installed locally) - Run
vercel dev
in a terminal window inside of this repository to spin up a development server
- Push repository to your github account
- Open Vercel, create new project, link to Github repository
- Now replace the provided endpoints with your custom ones.
playerId
- optional
If no query param is passed, returns a list of playerOverviews
// return object
{
players: [];
}
If a playerId is passed, returns detailed playerDetails
// return object
{
playerDetails: {
}
}
playerId
- required
Returns a list of pitches for the passed in playerId
// return object
{
pitches: [];
}