Skip to content

rithbennet/CalTrack

Repository files navigation

CalTrack

A Flutter project for tracking calories and nutrition.

Getting Started

This project uses environment variables for sensitive configuration like Firebase API keys.

Environment Setup for Team Members

  1. Create your .env file:
    • Copy the .env.example file and rename it to .env
    • Ask the project admin for the actual values to use in your .env file
    • Never commit your .env file to git
cd .env.example .env
# Then edit .env with the actual values
  1. Install dependencies:
flutter pub get
  1. Run the app:
flutter run

Security Best Practices

  • API Keys: All API keys are stored in the .env file, which is excluded from git
  • Firebase Security: Make sure to configure Firebase Security Rules for your collections
  • Authentication: Use Firebase Authentication for user management

Development Guidelines

  • Always use the environment variables for configuration, never hardcode sensitive values
  • Configure proper Firebase Security Rules to control access to your data
  • Use Firebase Auth to authenticate users before allowing access to data
  • Run security audits periodically using Firebase Security Rules Playground

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •