Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`