/workout-app

Primary LanguageJavaScript

Workout App

This project was bootstrapped with Create React App.

Api built with Python Flask framework.

How to run

In the project directory, install dependencies:

npm run build-api
npm install

In the project directory, start the api:

npm run start-api

From another terminal in the project directory, start the frontend:

npm start

The app will be running in development mode on http://localhost:3000.

Data Structure

Adding a new db migration

From the root dir:

source api/venv/bin/activate
yoyo add --sql -m MIGRATION_NAME

You can view the data in the db from the commandline by installing sqlite3 via Brew, and run from the root dir:

sqlite3 api/workout_app.db

TODO

  • Add feature to create new exercises
  • Add feature to create new workout from list of exercises
  • Add timer functionality for workout
  • Add tests
  • Add python linter
  • Frontend styling
  • Deployment