How to create API endpoints to handle requests in Express

2024-07-27 0

In Express we can easy define routes in separate modules or files. It allows to create a router with a set of routes and use it in multiple places within our application.

In this video I'm showing how I have created a route in Express and how it handles the requests send from a Next.js app.