# SparkyFitness Backend

SparkyFitness Backend is the self-hosted API and data-storage container for SparkyFitness, a privacy-first fitness tracking platform that helps users monitor nutrition, exercise, and body measurements. It is open source and self-hosted, installable on Unraid and Docker Hub.

Canonical page: https://ourlocalhost.com/app/841/sparkyfitness-backend

## Description

SparkyFitness Backend is the self-hosted API and data-storage container for SparkyFitness, a privacy-first fitness tracking platform that helps users monitor nutrition, exercise, and body measurements.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

78/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 7 days ago)
- Popular: 76 (6,380 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Unraid: https://ca.unraid.net/apps/sparkyfitness-backend-181ucy61jm8sma?q=SparkyFitness---Backend
- Docker Hub: https://hub.docker.com/r/codewithcj/sparkyfitness_server
- GitHub: https://github.com/CodeWithCJ/SparkyFitness
- Official website: https://codewithcj.github.io/SparkyFitness

## Common questions

### Can SparkyFitness be installed through Unraid Community Apps?

No, the SparkyFitness container is not available in the Community Apps.

### Which file must be configured before starting SparkyFitness with Docker Compose?

The .env file must be filled in with the database address, user, password, and port. It holds the secrets and database settings.

### What command starts the SparkyFitness app pieces in the background?

Run docker compose pull && docker compose up -d. This downloads the pieces and runs them together.

### On what port should the app be opened after a successful start?

Open the app in a browser on port 3004 of the local host.

### What must be done when pointing SparkyFitness at an external PostgreSQL database?

Run the provided SQL to create the required database extensions and update .env with those details. Skipping the extensions can make the app fail when saving or looking up data.

## Alternatives

- ASICS Runkeeper: Just like a real-life coach, the ASICS Runkeeper app will help you set your goals, train for them, and track your progress along the way.
- Cronometer: An online diary for tracking your diet, exercise, and other health related information.
- FitoTrack: FitoTrack is a mobile app for logging and viewing your workouts.
- Google Fit: Google Fit is a health-tracking platform developed by Google for the Android operating system.
- MyFitnessPal: Lose weight with MyFitnessPal, the fastest and easiest-to-use calorie counter.With the largest food database of any calorie counter, and am…
- OpenNutriTracker: OpenNutriTracker is an open-source mobile application designed to simplify nutritional tracking and management.
- OpenTracks: OpenTracks is a sport tracking application that completely respects your privacy.
- Sobers: Sobers is a recovery and sobriety accountability app.
- Strava: Strava makes fitness tracking social.

---
Source: Our Local Host (https://ourlocalhost.com/app/841/sparkyfitness-backend), the self-hosted and open-source app directory.
