Skip to content

pce-uw-jscript400/exercise-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise: Book Shop

This exercise will assess your ability to build a fully working API with MongoDB.

Setup

  1. Fork & Clone this repository
  2. npm install
  3. npm run dev

Instructions

As it stands, this repository contains an API for books. Update each route so that it uses a MongoDB database instead of recording the information in-memory.

Additionally, add a new set of routes for the authors. For example:

GET /api/books/:bookId/authors
GET /api/books/:bookId/authors/:authorId
POST /api/books/:bookId/authors
PUT /api/books/:bookId/authors/:authorId
DELETE /api/books/:bookId/authors/:authorId

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors