/fitsync

An application that automatically syncs non GPS tracked Fitbit activities to Strava

Primary LanguagePythonMIT LicenseMIT

fitsync

An application that automatically syncs non GPS tracked Fitbit activities to Strava

Run application

  1. Poetry install: poetry install

  2. Run database: docker-compose up -d --remove-orphans

  3. Ensure contents in .env file. Refer to .env.example

  4. Run application: poetry run uvicorn main:app --reload

  5. Create a password hash for your user: poetry run python ./generate_password.py

  6. Insert users into DB:

        \c fitsync
        insert into users (username, password) values ('<username>', '<brcypt password>');
  7. Make API call: http POST 'http://127.0.0.1:8000/token' username=<username> password=<password> -f