Skip to content

Repository files navigation

Firebase Studio

This is a NextJS starter in Firebase Studio.

To get started, take a look at src/app/page.tsx.

Configuration

This project requires API keys from both Firebase and Google AI to function correctly.

Firebase Configuration (Required for Login & Database)

This project uses Firebase for authentication and database services. To connect the application to your Firebase project, you must provide your project's credentials.

  1. Open the .env file in the root of the project (at the same level as package.json).
  2. Add your Firebase project configuration to the .env file. You can find these values in your Firebase project settings under "Your apps" > SDK setup and configuration > Config.

Example .env file:

NEXT_PUBLIC_FIREBASE_API_KEY=AIzaSy...
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-project-id.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-project-id.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=1234567890
NEXT_PUBLIC_FIREBASE_APP_ID=1:1234567890:web:abcdef...

The application's login and database features will not function correctly without these credentials. After you add them, the login and sign-up will work.


Genkit AI Configuration (Required for Bot & Trip Planner)

The AI features in this application (Tranquile Bot, AI Trip Planner) are powered by Google's Generative AI. To enable these features, you must provide a Google AI API key.

  1. Visit Google AI Studio to create an API key.
  2. Open the same .env file in the root of your project.
  3. Add the key to your .env file on a new line, like this:
GOOGLE_API_KEY=AIzaSy...YOUR_GOOGLE_AI_KEY

The AI features will not work without this key. After adding it, the Tranquile Bot and AI Trip Planner will function correctly.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages