Skip to content

Commit

Permalink
✨ Statistics, Whoop export parsing, bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
itskovacs committed Feb 21, 2025
1 parent 994a287 commit 46e91f3
Show file tree
Hide file tree
Showing 8 changed files with 1,224 additions and 606 deletions.
Binary file added .github/sc_program.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/sc_statistics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ FROM python:3.12-slim
WORKDIR /app
# Touch the files
COPY backend .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install -r requirements.txt
# Copy to /app/frontend, where /app has the backend python files also
COPY --from=build /app/dist/wingfit/browser ./frontend
EXPOSE 8080
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ source venv/bin/activate
# Install dependencies
pip install .

# Run the backend, port :8080
# Run the backend, port :8000
fastapi run fastapp:app
```

Expand All @@ -125,20 +125,25 @@ cp -r dist/wingfit/browser /var/www/html

## 📸 Demo <a name = "demo"></a>

A demo is available at [Wingfit.fr](https://wingfit.fr).

<div align="center">

| | |
|:-------:|:-------:|
| ![](./.github/sc_planning.png) | ![](./.github/sc_programs.png) |
| ![](./.github/sc_pr.png) | ![](./.github/sc_blocs.png) |
| ![](./.github/sc_planning.png) | ![](./.github/sc_blocs.png) |
| ![](./.github/sc_pr.png) | ![](./.github/sc_statistics.png) |
| ![](./.github/sc_programs.png) | ![](./.github/sc_program.png) |

</div>

<br>

## 🚧 Roadmap <a name = "roadmap"></a>

New features coming soon<sup>TM</sup>, check out the development plan in the [Roadmap Wiki](https://github.com/itskovacs/wingfit/wiki/Roadmap).
New features coming soon<sup>TM</sup>, check out the development plan in the [Roadmap Wiki](https://github.com/itskovacs/wingfit/wiki/Roadmap). If you have ideas 💡, feel free to open an issue.

If you want to develop new feature, feel free to open a pull request (see [🤝 Contributing](#contributing)).

<br>

Expand Down
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
services:
wingfit:
app:
build: .
container_name: wingfit
ports:
- 127.0.0.1:8080:8000 #127.0.0.1: locally exposed, on port 8080 by default
volumes:
- ./storage:/app/storage
command: ["fastapi", "run", "/app/fastapp.py", "--host", "0.0.0.0"]
- storage:/app/storage
command: ["fastapi", "run", "/app/fastapp.py", "--host", "0.0.0.0"]

volumes:
storage:
13 changes: 3 additions & 10 deletions src/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
"outputPath": "dist/wingfit",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand Down Expand Up @@ -80,10 +78,7 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand All @@ -92,9 +87,7 @@
"input": "public"
}
],
"styles": [
"src/styles.scss"
],
"styles": ["src/styles.scss"],
"scripts": []
}
}
Expand Down
Loading

0 comments on commit 46e91f3

Please sign in to comment.