Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

dotkom/charitystream

 
 

Repository files navigation

Basic API routes example

Next.js ships with API routes which provides an easy solution to build your own API. This example shows how to create multiple API endpoints with serverless functions, which can execute independently.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example api-routes api-routes-app
# or
yarn create next-app --example api-routes api-routes-app

Deploy it to the cloud with Vercel (Documentation).

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.0%
  • CSS 37.2%
  • Dockerfile 0.8%