In the first part of the series we created our ExpressJS app and served up all the books from our Mongo database. Today we'll accomplish the following:
- Refactor our /books URL into the routes/index.js file
- Move our database code into its own module
- Set up a route to serve up an individual book's JSON
- Learn about Mongo's ObjectID
Apologies for the slightly duller and quieter voice this time around - illness and a cold have played their part!
As always the code is on Github, and I highly recommend playing the video in HD so it's clearer to see (I record at my laptop's resolution so everything should be crystal clear).
If you have any questions, leave a comment and I'll either reply with a comment or answer in the next video.
Don't miss my latest course, React in Five! This course will help you level up your React skills by covering lesser known parts of the React API. Each video is less than five minutes long, and the first four are free to watch. Get started now.
Subscribe to keep up to date with the latest content.
Join the JS Playground mailing list to be kept up to date with the latest tutorials, screencasts and more. You won't be spammed and you can unsubscribe at any time.