Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neenuavarghese/fitsync
An application that automatically syncs non GPS tracked Fitbit activities to Strava
https://github.com/neenuavarghese/fitsync
Last synced: 5 days ago
JSON representation
An application that automatically syncs non GPS tracked Fitbit activities to Strava
- Host: GitHub
- URL: https://github.com/neenuavarghese/fitsync
- Owner: NeenuAVarghese
- License: mit
- Created: 2023-08-05T23:15:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-07T02:15:34.000Z (over 1 year ago)
- Last Synced: 2024-04-21T02:01:26.401Z (7 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fitsync
An application that automatically syncs non GPS tracked Fitbit activities to Strava
## Run application
1. Poetry install: `poetry install`
1. Run database: `docker-compose up -d --remove-orphans`
1. Ensure contents in .env file. Refer to `.env.example`
1. Run application: `poetry run uvicorn main:app --reload`
1. Create a password hash for your user: `poetry run python ./generate_password.py`
1. Insert users into DB:```bash
\c fitsync
insert into users (username, password) values ('', '');
```1. Make API call: `http POST 'http://127.0.0.1:8000/token' username= password= -f`