KitaPlatzZentrale / kpz

1 stars 0 forks source link

Adjust frontend to Email Service and new BackendURL #83

Open Darjusch opened 1 year ago

Darjusch commented 1 year ago
Screenshot 2023-05-28 at 12 33 10

We should not hardcode the URL but instead get it from the Github secrets. - Its also the wrong URL right now. New URL - https://api.kitaplatz-zentrale.de/ ( Might also want to change to node 18 )

change /anmeldung to /signup

adjust the body according to the agreed interface:

Screenshot 2023-05-28 at 12 33 54

Example:

{
  "email": "darjusch.schrand@code.berlin",
  "kitaId": "kitaid",
  "kitaName": "Kita A",
  "kitaDesiredAvailability": "May",
}
Screenshot 2023-05-28 at 12 34 13

Example:

{
      "email": "darjusch.schrand@code.berlin",
      "fullAddress": "123 Main St, City",
      "desiredStartingMonth": "September",
      "actualOrExpectedBirthMonth": "June",
    }