You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be a simple client / server application.
Parts:
UI - simple javascript / index.html that will call the backend services. - Ying
REST endpoints to work with the UI above. See below for details. - Ray
Application flow:
User lands on an index.html page in which there is a field for phone number and case number user can provide.
User provides the case number and phone number.
User will first fill in the case data - which a query will be done.
Once user verifies that they had the correct case, the user submits his/her number to have notification be done.
(Optionally, we can have a - notify me # days prior court date - if so, we'll need to add additional input and storage in the table)
Two REST endpoints are needed
/get_court_date?case=<case_number> . This endpoint will query the database for the nearest court date for this case. This will also add as a verification for the user so that they can validate if they had set the case properly.
if case not found:
{
"case": <case_number>
"court_date": <date_closest_to_today_in_future>
"court_data": { ...some sort of info maybe to display to user? ... }
"system_last_updated" : <last_scanned_date>
}
/notify_case?case=<case_number>&phone=<phone_number> . This endpoint should create an entry in the notification table for case number and the phone. This table will be used by the cron job that will send out notification.
The text was updated successfully, but these errors were encountered:
This should be a simple client / server application.
Parts:
Application flow:
(Optionally, we can have a - notify me # days prior court date - if so, we'll need to add additional input and storage in the table)
Two REST endpoints are needed
/get_court_date?case=<case_number>
. This endpoint will query the database for the nearest court date for this case. This will also add as a verification for the user so that they can validate if they had set the case properly.if case not found:
if case is found -
/notify_case?case=<case_number>&phone=<phone_number>
. This endpoint should create an entry in thenotification table
for case number and the phone. This table will be used by the cron job that will send out notification.The text was updated successfully, but these errors were encountered: