In this video, Emmanuel Henri explores other potential options for creating APIs beyond a simple Node Express combination. He looks at koajs, loopback and swagger.
- [Instructor] We've build 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 can learn the basics and the syntax…then borrow from other libraries…to be more efficient.…Here are some of the potential options.…First go to koajs.com…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, if you're familiar with ES6 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.…Then got to swagger.io…and also loopback.io…then if you'd like to get a full fledged…prebuilt API you could either use…Swagger or LoopBack…which both come prebuilt with…all the endpoints you need…once you set a few things.…
I haven't worked with Swagger…but I've build a few projects using LoopBack…
- Setting up a project and a server
- Setting up a database and schema
- Creating POST, GET, PUT, and DELETE endpoints
- Serving files
Skill Level Intermediate
1. Setting Up
2. Initial Server Build
3. CRUD Operations
4. Other API Options
Static files serving3m 16s
Next steps1m 1s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.