flamenutrition / flame-coach-service Goto Github PK
View Code? Open in Web Editor NEWFlame Coach - Services, a simple way nutrition coaches track their client's progress!
Home Page: https://api.flamenutrition.co.uk:8080
License: MIT License
Flame Coach - Services, a simple way nutrition coaches track their client's progress!
Home Page: https://api.flamenutrition.co.uk:8080
License: MIT License
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Change the MySQL dependency to mariadb. This is required to maintain production sync to the dev code.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Find a framework to write API docs and write the documentation.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
This service should allows coaches get the calories result based on parameters.
Describe the solution you'd like
Please be aware you can calculate calories using different methods. The endpoint for each method is a possible solution but the core needs to be develop in a flexible way, if I want to add a new method should be very easy and decouple of other methods.
Describe alternatives you've considered
Additional context
E.g https://en.m.wikipedia.org/wiki/Harris%E2%80%93Benedict_equation
Create API service to allow:
Get a daily task from a client with filtering: like a date.
Update a daily task from a client. Using uuid daily task.
Delete a daily task from a client. Using uuid daily task.
Update one daily task with ticked
Update bulk daily task with ticked
The integration suite is broken because when running mvn clean install
the tests are not running in order and the data will be inconsistency.
Fix the integration suite when running the maven command
The user password must be encrypted.
TO BE DEFINED:
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
A warning is raised when the mvn clean install
is executed. Please try to understand why this is happening and what we should do to fix it.
Describe alternatives you've considered
N/A
Additional context
WARNING
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil (file:/Users/nbentoneves/.m2/repository/org/jetbrains/kotlin/kotlin-compiler/1.4.31/kotlin-compiler-1.4.31.jar) to method java.util.ResourceBundle.setParent(java.util.ResourceBundle)
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Problem
When an exception happened internal (like invalid password) the system didn't log the response. This should be fixed and the response should be logged.
Is your feature request related to a problem? Please describe.
API to retrieve the clients with “looking for coach” enable. That allows coaches to see that client's
Describe the solution you'd like
Improve the process. Instead calling the getCustomer x times, change the logic to pass the Customer object inside the methods. This will reduce the number of database calls.
Is your feature request related to a problem? Please describe.
API resource to enable "looking for coach".
Describe the solution you'd like
This resource should enable the looking for coach feature for the specific client. Data related to this should be updated.
Additional context
Add any other context or screenshots about the feature request here.
This will allow coach to schedule an appointment with the client.
Appointment
id
clientFk
coachFk
datetime
price
delete
Please write the following APIs:
This is a temporary solution. The log4j.xml will be changed for a .properties file.
Is your feature request related to a problem? Please describe.
Refactor the signup API to support client's registration without registration key
Describe the solution you'd like
Refactor the code already existed in the service to support this.
Create two services to allow link and unlink a coach to a client
/api/client/enrollment/init -> initialize the process to link a coach
/api/client/enrollment/finish -> finalize the process to link or unlink a coach
/api/client/enrollment/break -> break the link between the coach and the client
/api/client/enrollment/status -> get the enrollment status
Is your feature request related to a problem? Please describe.
The production branch is taking a lot of time to deploy because of the component tests.
Describe the solution you'd like
Move component tests from deploy stage to build-and-test and only execute it for the master branch
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
API resource to retrieve the status of "looking for coach" of specific client.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
Create a new notes service to allow coaches or clients to have notes.
Describe alternatives you've considered
N/A
Additional context
Notes
id
note
clientFk (can be null)
coachFk (can be null)
date
delete
Please write the following APIs:
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Disable logs to maintain the testing running clean.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
Yes. Most of the GET services was created using headers instead of parameters, this is not right and needs to be fixed.
Describe the solution you'd like
Change all GET services with headers to parameters request.
Describe alternatives you've considered
N/A
Additional context
N/A
This should take effect for all customer services API
Is your feature request related to a problem? Please describe.
Coaches can send an invite to the client, that will allow clients to init the enrollment process.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Create a service endpoint to allow users to reset their passwords.
Describe alternatives you've considered
N/A
Additional context
N/A
Change the JPA save method for saveAndFlush otherwise the method never gets the DataIntegrityViolationException exception.
Get metrics to show to the coach.
Please write the following APIs:
After coach registration the views related to clients must have a check for coach status.
Is your feature request related to a problem? Please describe.
API resource to enable/disable "looking for coach".
Describe the solution you'd like
This resource should enable/disable the looking for coach feature for the specific client. Data related to this should be updated.
Additional context
Add any other context or screenshots about the feature request here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.