This course will be retired on August 10, 2021. We recommend "REST APIs with Express" for up-to-date content.
Often when starting an Express project, it makes sense to use express-generator to create a starting place for us. But for our purposes this would create a lot of unnecessary files we would have to then delete. That’s because express-generator builds in a lot of user interface-based files like templates and static files (HTML, CSS or client-side JS), which REST services have nothing to do with, being solely data-based. We’ll instead work the other way, and create our app from scratch, which it turns out is not actually too hard to do! Let’s get started.
You need to sign up for Treehouse in order to download course files.Sign up