File Metadata Microservice Retrospective

Intro

The file metadata microservice project allows the user to upload a file and the application will return to the user the name, size, and location of that file.

This application was one of the easiest of all of the backend API challenges. At this point, setting up the Node/Express app was simple. The only catch was learning how to use the multer package that provides methods for measuring metadata about files. Aside from that, the actual functionality of this application was 9 lines long!

The Server-side Development with NodeJS course on Coursera helped me complete this project. It covers Node, Express, MongoDB, and Mongoose, so you can use it to learn everything you might need for the M, E, and N parts of the MEAN stack.

Code Review

Seeing as this project boils down to 9 lines of JavaScript there isn't a lot to review here. Reading the documentation for multer and using it in practice was a great exercise in finder a package that does what you need and implementing it for your purposes. Other than that, this was a very simple project.

The biggest challenge of this project was that every time I typed 'metadata' I mistyped it as 'meatdata'!

Future Improvements

As far as improvements go, I don't think I will rewrite any of these first stabs at Node/Express apps. I view them as much more learning experiences rather than applications that should be maintained. That said, I'm happy to have done them and gotten my first steps into the scary back-end!