First, create firestore app and create .env.local file and configure setting maybe you can use .env.local.example for reference and replace local variables
NEXT_PUBLIC_API_KEY = <apiKey>
NEXT_PUBLIC_AUTH_DOMAIN = <authDomain>
NEXT_PUBLIC_PROJECT_ID = <projectId>
NEXT_PUBLIC_STORAGE_BUCKET = <storageBucket>
NEXT_PUBLIC_MESSAGING_SENDER_ID = <messagingSenderId>
NEXT_PUBLIC_APP_ID = <appId>
Second, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.