Skip to content

Django app to calculate a woman's cycle within a date range and provide the data through an api

Notifications You must be signed in to change notification settings

gerald-x/womans-period

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

womans-period

Django app to calculate a womans cycle within a given date range and provide the data through an api

NOTE:

  • There can only be one period cycle in the database at a time

  • The cycle currently in the database is a test run cycle and can be edited

To Run the project:

  • clone Repository.

  • Navigate to project base directory in your terminal

  • run the command python manage.py runserver

Usage:

This will display a UI form data with the existing period cycle data in the database for the user to edit.


With the following data:

  • Last Period: as a date string in the format of "yyyy-mm-dd"
  • Cycle Average: as an integer
  • Period Average: as an integer
  • Start Date: as a date string in the format of "yyyy-mm-dd"
  • End Date: as a date string in the format of "yyyy-mm-dd"

The response would be a JSON response with the value of the number of created cycles within the given date range.


This will return a JSON response with an array of the event(s) happenning on the given date.

NOTE: If no event was found, the JSON response returns an empty array.

About

Django app to calculate a woman's cycle within a date range and provide the data through an api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published