Over a million developers have joined DZone.

How to Build a TV Show Tracker with MongoDB, Node.js, and AngularJS

DZone's Guide to

How to Build a TV Show Tracker with MongoDB, Node.js, and AngularJS

· Java Zone
Free Resource

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

If you're looking for a practical application to get you started with MongoDB, or to hone your skills, or you just to do something fun with your NoSQL savvy (and a variety of web skills, too), you might be interested in this tutorial from Sahat Yalkabov.

It covers the creation of a TV Show Tracker - more specifically, a REST API, authentication and signup process, data creation and retrieval, front-end work, and optimization - using MongoDB and Mongoose, Node.js and Express, Passport, AngularJS, and Bootstrap SASS. The end result, when Yalkabov puts it together, at least, is something like this:

(Source: sahatyalkabov.com/images/blog/tvshow-tracker-32.png)

And this tutorial is detailed. Every step is completely fleshed out, but also segmented so that you can skip around to the interesting parts or the parts you need to be walked through. The only major assumptions made are that you have already comfortably installed Node.js, MongoDB, and express-generator. From there, it's a thirteen-step process:

  1. Creating a new Express project
  2. Bootstrapping an AngularJS application
  3. AngularJS Routes and Templates
  4. Dealing with database schemas
  5. Creating Express API Routes
  6. Query and Parse the TVDB API
  7. Finishing up with AngularJS
  8. Client-side authentication
  9. Server-side authentication
  10. Handling subscription
  11. Setting up email notifications
  12. Optimization
  13. Deployment

Followed by a fourteenth step containing some closing remarks from the author, including tips on how to expand the project and some encouraging words for those not yet prepared enough to complete it. 

Check out Yalkabov's full article for all the steps to build a TV Show Tracker yourself.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}