Helth app aims to be a minimalist web app for tracking calories, sodium, and water intake. It's a PWA built with SvelteKit
. Helth app doesn't use any third-party services for managing your data. Instead, your data is stored locally on your device. It also has a sweet barcode scanner that can magically ✨ download packaged food items and the nutrients for that particular food by connecting you to the Open Food Facts API.
- Clone this repository
npm install
npm run dev
To create a production version of helth app:
npm run build
Production builds can be previewed with npm run preview
. Helth app currently uses the Cloudflare adapter but aims to be a static web application meaning it could be host from anywhere that can serve HTML, CSS, and JS files. This can be accomplished switching out the adapter with the SvelteKit static adapter.
Various reusable components are located in src/lib/
. All data is stored locally in the user's browser and is managed via src/stores/stores
with database connections handled at src/stores/db
. Pages routes are found in src/routes/
and utility classes for transforming data can be found in src/utils/
.
This development of this app is made easier by utilizing the following tools: