Skip to content

Add Firebase auth with API key sidebar#9

Open
a20r wants to merge 19 commits into
mainfrom
codex/implement-user-login-with-firebase
Open

Add Firebase auth with API key sidebar#9
a20r wants to merge 19 commits into
mainfrom
codex/implement-user-login-with-firebase

Conversation

@a20r

@a20r a20r commented Jun 15, 2025

Copy link
Copy Markdown
Owner

Summary

  • integrate Firebase auth and Firestore
  • add login page and sidebar for API key management
  • store keys securely in Firestore and sessionStorage
  • document Firebase env vars

Testing

  • pytest -q (fails: Should have overnight markers)

https://chatgpt.com/codex/tasks/task_e_684f2ab3a7c083209501b05f1301711d

a20r added 19 commits June 11, 2025 08:27
- Added RouteMap component for visualizing routes using Deck.gl
- Developed TripPlannerForm for user input on trip details and preferences
- Created TripResults component to display trip summary and detailed plans
- Introduced TripRevisionModal for user feedback on trip plans
- Integrated API service for trip planning and revisions
- Established types for trip requests and responses
- Configured Tailwind CSS for styling and responsive design
- Set up Nginx for serving the React frontend and proxying API requests
- Added scripts for starting the application in both development and production environments
- Updated web_app.py to improve user feedback on departure dates and streamline trip planning logic.
- Modified main.py to include a new 'desires' field in the TripPlanRequest model and adjusted related API endpoints for trip planning and revision.
- Enhanced TripPlannerForm component to support user input for trip desires, including a new input field and handling for adding desires via keyboard.
- Updated API types in api.ts to reflect the addition of the desires property in TripPlanRequest.
- Improved overall code formatting and organization for better readability and maintainability.
- Implemented a new endpoint `/api/test-keys` to validate provided API keys.
- Added `ApiKeySetup` component to collect and validate API keys from users.
- Updated trip planning logic to use API keys from headers or session storage.
- Enhanced frontend to check for API keys and display appropriate UI based on their status.
- Introduced loading state while checking API keys and improved user experience with prompts.
- Refactored backend functions to accept API keys for external service calls.
@railway-app

railway-app Bot commented Jun 15, 2025

Copy link
Copy Markdown

🚅 Deployed to the dirtgenie-pr-9 environment in dirtgenie

Service Status Web Updated (UTC)
dirtgenie ✅ Success (View Logs) Web Aug 11, 2025 at 3:23 pm

@a20r a20r changed the base branch from feat/ajw/custom-web-app to main June 15, 2025 20:37
@a20r a20r self-assigned this Jun 16, 2025
@a20r a20r added the enhancement New feature or request label Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant