Pro správnou funkci vytvoř .env.local soubor s daty pro firebase
NEXT_PUBLIC_FIREBASE_API_KEY=<--here-->
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=<--here-->
NEXT_PUBLIC_FIREBASE_DATABASE_URL=<--here-->
NEXT_PUBLIC_FIREBASE_PROJECT_ID=<--here-->
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=<--here-->
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=<--here-->
NEXT_PUBLIC_FIREBASE_APP_ID=<--here-->
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=<--here-->
# 1. install dependencies
$ npm install
# 2. run local development server
$ npm run dev