The codelab has the full instructions, but as a quick start, you can do this.
- In your terminal, run:
firebase emulators:start --project demo-codelab-nextjs
-
Copy the file
lib/firebase/config-copy.js
tolib/firebase/config.js
and fill in the values from the Firebase console. -
In a new terminal tab/window, run:
npm i
npm run dev
- In your browser, open the URL:
http://localhost:3000
- While on
http://localhost:3000/
within your browser, click the "Sign in" button in the top right corner and sign in. - In the dropdown menu in the top right menu, select "Add sample restaurants".