Skip to content

m121/nextjs-firebase-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js + Firebase Starter

Use this starter to work with Firebase in your Next.js app

Quick Start


Deploy with Vercel

Getting Started


Run the following command to create a new project with this Starter

yarn create next-app projectname --example "https://github.com/m121/nextjs-firebase-starter"
# or
npx create-next-app projectname --example "https://github.com/m121/nextjs-firebase-starter"

Once the project is ready you can navigate to that directory and start up the development server

yarn run dev
# or
npm run dev

Open http://localhost:3000 with your browser to see the result.

What's inside?


In this starter you will find

  • Basic Firebase configuration on Next.js
  • Basic example fetching a list of books using getInitialProps
  • Basic example fetching a book by ID using getInitialProps

Learn More about Next.js


To learn more about Next.js, take a look at the following resources:

Releases

No releases published

Packages

No packages published