Create an API Route Using the next-connect Package

Share this video with your friends

Social Share Links

Send Tweet
Published 3 years ago
Updated 3 years ago

We'll learn an alternative way of creating API routes using the next-connect package. next-connect gives us an alternative that would feel familiar to anyone that has worked with Express in the past.

  • https://github.com/hoangvvo/next-connect
Carlos Pires
Carlos Pires
~ 2 years ago

The package has to be imported first: yarn add next-connect if you are using yarn or npm i next-connect if you are uing npm.

Markdown supported.
Become a member to join the discussionEnroll Today