Skip to content

Releases: oluizeduardo/glicocheck-api

v1.0.0.2

21 Sep 02:15
d5e6119
Compare
Choose a tag to compare

Release Notes

What's Changed

  • API configuration moved to another file.
  • Updated issue_template.md.
  • contentSecurityPolicy configuration.

Full Changelog:

v1.0.0.1

08 Sep 19:26
84a3b92
Compare
Choose a tag to compare

Release Notes

What's Changed

  • Adjust CORS configuration based on environment profile by @oluizeduardo in #31

v1.0.0.0

07 Sep 23:48
d442f5c
Compare
Choose a tag to compare

Release Notes

Overview

I'm excited to announce the release of version 1.0.0.0 of Glicocheck, the API for Diabetes Management. This first version provides a robust foundation to manage users' diabetes-related data, offering authentication, user management, health information tracking, and more. Below are the key features and endpoints introduced in this release.

Key Features

System Health Check

  • GET /ping: A simple endpoint to check the health status of the API.

Authentication

  • POST /authentication/login: Authenticates a user and returns an access token.
  • POST /authentication/logout: Logs out the authenticated user.
  • POST /authentication/validate-password: Validates a user's password.

User Management

  • POST /users: Registers a new user in the system.
  • 🔒 GET /users: Retrieves the list of users.
  • 🔒 GET /users/:usercode: Fetches details of a specific user.
  • 🔒 PUT /users/:usercode: Updates details of an existing user.
  • 🔒 DELETE /users/:usercode: Deletes a user from the system.

Genders Management

  • 🔒 POST /genders: Registers a new gender in the system.
  • 🔒 GET /genders: Fetches the list of genders.
  • 🔒 GET /genders/:id: Retrieves details of a specific gender.
  • 🔒 PUT /genders/:id: Updates an existing gender.
  • 🔒 DELETE /genders/:id: Deletes a gender from the system.

Diabetes Type Management

  • 🔒 POST /diabetestype: Registers a new type of diabetes.
  • 🔒 GET /diabetestype: Fetches the list of diabetes types.
  • 🔒 GET /diabetestype/:id: Retrieves details of a specific diabetes type.
  • 🔒 PUT /diabetestype/:id: Updates an existing diabetes type.
  • 🔒 DELETE /diabetestype/:id: Deletes a diabetes type from the system.

Blood Type Management

  • 🔒 POST /bloodtype: Registers a new blood type.
  • 🔒 GET /bloodtype: Fetches the list of blood types.
  • 🔒 GET /bloodtype/:id: Retrieves details of a specific blood type.
  • 🔒 PUT /bloodtype/:id: Updates an existing blood type.
  • 🔒 DELETE /bloodtype/:id: Deletes a blood type from the system.

Marker Meal Management

  • 🔒 POST /markermeal: Registers a new marker meal.
  • 🔒 GET /markermeal: Fetches the list of marker meals.
  • 🔒 GET /markermeal/:id: Retrieves details of a specific marker meal.
  • 🔒 PUT /markermeal/:id: Updates an existing marker meal.
  • 🔒 DELETE /markermeal/:id: Deletes a marker meal from the system.

Carbs Counting

  • 🔒 GET /carbscounting/:food: Provides the amount of carbohydrates in a specific food item.

Health Info Management

  • 🔒 POST /healthinfo: Registers health information for a user.
  • 🔒 GET /healthinfo: Retrieves the list of health information for all users.
  • 🔒 GET /healthinfo/user/:usercode: Fetches health information of a specific user.
  • 🔒 PUT /healthinfo/user/:usercode: Updates the health information of a specific user.
  • 🔒 DELETE /healthinfo/user/:usercode: Deletes the health information of a specific user.

System Configuration

  • 🔒 POST /systemconfiguration: Registers system configuration for a user.
  • 🔒 GET /systemconfiguration: Retrieves the list of system configurations.
  • 🔒 GET /systemconfiguration/:id: Fetches details of a specific system configuration.
  • 🔒 PUT /systemconfiguration/user/:usercode: Updates a user's system configuration.
  • 🔒 DELETE /systemconfiguration/:id: Deletes a system configuration by ID.
  • 🔒 DELETE /systemconfiguration/user/:usercode: Deletes the system configuration of a specific user.

Glycemia Diary

  • 🔒 POST /diary/users/:usercode: Registers a new glycemia reading for a user.
  • 🔒 GET /diary/users/:usercode: Retrieves the list of glycemia records for a user.
  • 🔒 PUT /diary/users/:usercode/:id: Updates an existing glycemia record.
  • 🔒 DELETE /diary/users/:usercode/:id: Deletes a specific glycemia record.
  • 🔒 DELETE /diary/users/:usercode: Deletes all glycemia records for a user.
  • 🔒 GET /diary/users/:usercode/stats: Returns statistical analysis of glycemia readings for a user.

Password Management

  • POST /reset-password/forgot-password: Sends a password reset email.
  • GET /reset-password/:resetToken: Returns the password reset page.
  • PUT /reset-password: Updates the user's password.
  • GET /reset-password/cancel/:resetToken: Cancels a password reset request.

Security

  • Endpoints marked with a 🔒 symbol require user authentication with a valid access token.

What's Next?

Future releases will introduce enhanced features, such as more detailed analytics tools for monitoring blood glucose and other health indicators.

I look forward to your feedback and collaboration as I continue to improve the API!

Contributor