Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Now API Example

This directory is a brief example of building an API service using Next.js, which can be deployed to ZEIT Now with environments.

Online eample:

How to use this template

Edit code and test

  1. Visit CodeSandbox.
  2. Fork from CodeSandbox.
  3. In the SERVER CONTROL PANEL, add the secret key EXAMPLE with any value.
  4. Edit code and test.

Deploy

  1. Install now on local, run:
    npm install -g now
  2. Login:
    now login
  3. Add secret:
    now secret add example 23333
  4. Back to the CodeSandbox, in the Deployment panel, click Deploy.

Releases

Packages

Used by

Contributors

Languages