From the course: Building RESTful APIs with Node.js and Express
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Other potential libraries for API
From the course: Building RESTful APIs with Node.js and Express
Other potential libraries for API
- [Instructor] We've built an API with endpoints from scratch using Express in this course. However, there are other libraries worth exploring if you want to save some time or get more benefits from these libraries. I always think it's great to first build one on your own so you learn the basics and the syntax then borrow from other libraries to be more efficient. Here are some of the potential options. Go to koajs.com and if you like Express but would like to get more for less, koa is a great option built from the same people who did Express. For instance, and if you're familiar with ES 6 syntax, you can use generators instead of callbacks. They also remove middleware to make the library smaller and there is much more to explore. Feel free to take a look at it. Go to swagger.io. Then if you'd like to get a full fledged pre-built API, you could either use Swagger or LoopBack, which is LoopBack.io. I haven't worked with…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.