A free calorie counting app made to fit my needs.
Give it a shot at kcal-calc.vercel.app
please note that this app code and above instance are both deprecated. the instance may be made unavailable at any moment without further warning.
| Mobile Day View | Item Selection | Mobile Week View |
|---|---|---|
| Desktop Unified View |
|---|
kcalCalc can be self-hosted for free using Firebase and a Cloud Host like Vercel.
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /Users/{userId}/{documents=**} {
allow read, write: if userId == request.auth.uid;
}
}
}
Copy env variables in a .env file
pnpm i
pnpm dev
firebase emulator usage can be toggled via VITE_USE_EMULATION=true.
firebase cli
curl -sL https://firebase.tools | bashfirebase loginfirebase emulators:start