Skip to content

janberkj/nextjs-vercel-firebase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js + Vercel + Firebase

Next.js app using API routes to connect with Firestore.

Built With

Running Locally

Setup

  1. Create a project in Firebase.
  2. Download your Firebase Service Account.
  3. Create a new file .env.local and add environment variables (see .env for example).
  4. Modify the API route to match your database structure.

Run Locally

$ vc dev

Next.js app + API available at http://localhost:3000.

Deploying

From the root directory.

$ vc --prod

About

Next.js app using API routes to connect with Firestore.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%