A simple and intuitive frontend application to track your daily coffee consumption. Built with modern web technologies and powered by Firebase.
- Log Coffee: Easily log every cup of coffee you drink.
- View History: Keep track of your consumption over time.
- User-Friendly Interface: Clean, simple, and easy to use.
- Frontend: JavaScript / TypeScript
- Backend Services:
- Firebase: For authentication, database, and AI features.
- Package Manager: npm or yarn
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
Make sure you have Node.js and npm (or yarn) installed.
-
Clone the repository:
git clone https://github.com/josephus-git/caffeine-tracker cd caffeine-tracker -
Install dependencies:
npm install # or yarn install -
Set up Firebase:
- Create a Firebase project at https://console.firebase.google.com/.
- Add a new Web App to your project to get your Firebase configuration.
- Create a
.env.localfile in the root of the project and add your Firebase configuration keys. It's common to prefix these with your framework's convention (e.g.,REACT_APP_orVITE_).# Example for Create React App REACT_APP_FIREBASE_API_KEY=your_api_key REACT_APP_FIREBASE_AUTH_DOMAIN=your_auth_domain REACT_APP_FIREBASE_PROJECT_ID=your_project_id REACT_APP_FIREBASE_STORAGE_BUCKET=your_storage_bucket REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id REACT_APP_FIREBASE_APP_ID=your_app_id
- Enable the Firebase AI API (
firebasevertexai.googleapis.com) in your Firebase project console.
-
Run the application:
npm run dev
The application should now be running on
http://localhost:5173.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.