Skip to content

MattMores/cle-be-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cleveland Guardians Backend Challenge

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!

Setup

Vercel

Development

  • 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

Deployment

  • Push repository to your github account
  • Open Vercel, create new project, link to Github repository
  • Now replace the provided endpoints with your custom ones.

Provided Endpoint Documentation

/players

Query Params

playerId - optional

Description

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: {
  }
}

/pitches

Query Params

playerId - required

Description

Returns a list of pitches for the passed in playerId

// return object
{
  pitches: [];
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published