Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 909 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 909 Bytes

Friendly Eats with Next.js + Firebase

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

Introduction

FriendlyEats is a restaurant recommendation app built on Cloud Firestore. For more information about Firestore visit [the docs][firestore-docs].

Run the application

  1. In your terminal, run:
cd .firebase
npm i
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".