Category: Database

Vercel, the company behind Next.js and the SWR fetching library, has a nice serverless offering. Today, in this first tutorial we will cover how to set up a Typescript REST API using Vercel Serverless Functions with minimal overhead. We first need to install the Vercel CLI and log in. Be sure you have an account at Vercel.

Once this is done, open the project folder in your favourite editor and open package.json.

Our last step before running the project is locally is to connect it to the Vercel dashboard.

Related Articles