[go: nahoru, domu]

Skip to content

Latest commit

 

History

History
 
 

nextjs-start

Friendly Eats with Next.js + Firebase

The codelab has the full instructions, but as a quick start, you can do this.

Run the application

  1. In your terminal, run:
firebase emulators:start --project demo-codelab-nextjs
  1. Copy the file lib/firebase/config-copy.js to lib/firebase/config.js and fill in the values from the Firebase console.

  2. In a new terminal tab/window, run:

npm i
npm run dev
  1. In your browser, open the URL: http://localhost:3000

Use the application

  1. While on http://localhost:3000/ within your browser, click the "Sign in" button in the top right corner and sign in.
  2. In the dropdown menu in the top right menu, select "Add sample restaurants".