Fasting tracker with FastAPI & Anglular (or Vue, let's see how it goes) => Fast(i)ngAPI
fastingapi's Introduction
fastingapi's People
fastingapi's Issues
long time user stats are not correct
there is one completed fast but nothing showing in user_stats
{
"email": "string",
"weight": 0,
"height": 0,
"goal_weight": 0,
"unit": "metric",
"id": 0,
"is_active": true,
"active_fast": {
"id": 0,
"user_id": 0,
"start_time": "2022-02-07T14:50:42.568Z",
"end_time": "2022-02-07T14:50:42.568Z",
"completed": true,
"duration": 0,
"planned_end_time": "2022-02-07T14:50:42.568Z",
"planned_duration": 0
},
"user_stats": {
"number_of_fasts": 0,
"total_hours_fasted": 0,
"longest_fast": 0,
"weight": 0,
"height": 0,
"bmi": 0,
"goal_weight": 0,
"start_weight": 0,
"weight_loss": 0
}
}
Delete fasts
add and endpoint to delete the fasts. this action will mark the fast as deleted, without really deleting it from the database.
timezones
times are not recorded with timezone information
End fast with empty payload
when the fast is ended with empty payload, end date is wrong.
suggested times in docs
suggested start and end times are not updated in docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.