mkcoder / lifebook

web application to monitor and record the events of your life through: notes, calendar events, reminders, goal keeper, and other interesting features
6 stars 0 forks source link

create calendar end point for frontend #11

Closed mkcoder closed 5 years ago

mkcoder commented 5 years ago

currently the frontend is posting data to /calendar format

{
 userId: Guid
}

expected reply:

{
 events: [
  {
    id: int,
    uid: Guid:
    name: string,
    startDate: DateTime
   endDate: DateTime
   description: string
   slug: string
  }
 ]
reminders: [
{
  euid: Guid
  when: DateTime
}
]}
mkcoder commented 5 years ago

the end point is working, i will create an additonal ticket for adding unit test for this api endpoint. any new tickets created for this endpoint should be labeled: Enhancements or Bug fixes