Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/butterscotchstallion/gainstracker
A web-based application to track my workouts using Django and React
https://github.com/butterscotchstallion/gainstracker
django djangorestframework jest neobrutalism neobrutalism-components openapi-generator playwright python3 react reactrouter sqlite3 uv
Last synced: 13 days ago
JSON representation
A web-based application to track my workouts using Django and React
- Host: GitHub
- URL: https://github.com/butterscotchstallion/gainstracker
- Owner: butterscotchstallion
- License: mit
- Created: 2024-11-21T04:02:56.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-01-23T03:52:40.000Z (14 days ago)
- Last Synced: 2025-01-23T04:25:23.740Z (14 days ago)
- Topics: django, djangorestframework, jest, neobrutalism, neobrutalism-components, openapi-generator, playwright, python3, react, reactrouter, sqlite3, uv
- Language: TypeScript
- Homepage:
- Size: 684 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GainsTracker
A web-based application to track my workouts using Django and React
# Screenshots
![Schedule Page](screenshots/plum.png)
![Themes](screenshots/themes.gif)# Run API server
- `python manage.py runserver`
# Run front end
- `cd ui`
- `npm run dev`# corsheaders issue
- Incompatible with Django 4.x
- Installing this library will stop the server from starting
- To fix it: .venv -> Lib -> site-packages -> corsheaders -> signal.py file.```py
from django.dispatch import Signal# Return Truthy values to enable a specific request.
# This allows users to build custom logic into the request handling
check_request_enabled = Signal()
```# Running tests
- `npm test` - run unit tests
- `npx playwright test` - run e2e tests
- `npx playwright test --ui` - Starts the interactive UI mode.