olegkord / HoopHub

Node JS project for General Assembly WDI
0 stars 0 forks source link

BE #2: Players controller #10

Closed olegkord closed 8 years ago

olegkord commented 8 years ago

Everything required in the players controller.

AAU, IWT add a player to my "player list," AAU, IWT delete a player from my "player list," AAU, IWT view all of my players

Routes:

router.route('/:id') .get( (req,res) { } --> gets a player by ID

.post( (req,res) { } --> add a player to the database of players
olegkord commented 8 years ago

All player controller functions are working