An application that automatically syncs non GPS tracked Fitbit activities to Strava
-
Poetry install:
poetry install
-
Run database:
docker-compose up -d --remove-orphans
-
Ensure contents in .env file. Refer to
.env.example
-
Run application:
poetry run uvicorn main:app --reload
-
Create a password hash for your user:
poetry run python ./generate_password.py
-
Insert users into DB:
\c fitsync insert into users (username, password) values ('<username>', '<brcypt password>');
-
Make API call:
http POST 'http://127.0.0.1:8000/token' username=<username> password=<password> -f