Closed olegkord closed 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
All player controller functions are working
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