{"id":19986416,"url":"https://github.com/sourcec0de/agenda","last_synced_at":"2025-07-30T09:43:52.643Z","repository":{"id":19944348,"uuid":"23211055","full_name":"sourcec0de/agenda","owner":"sourcec0de","description":"an agenda mangement application","archived":false,"fork":false,"pushed_at":"2014-08-22T03:08:41.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T20:42:16.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"lzyzsd/CircleProgress","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sourcec0de.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-22T03:08:39.000Z","updated_at":"2014-08-22T03:08:41.000Z","dependencies_parsed_at":"2022-07-25T07:16:59.384Z","dependency_job_id":null,"html_url":"https://github.com/sourcec0de/agenda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sourcec0de/agenda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcec0de%2Fagenda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcec0de%2Fagenda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcec0de%2Fagenda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcec0de%2Fagenda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcec0de","download_url":"https://codeload.github.com/sourcec0de/agenda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcec0de%2Fagenda/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259724534,"owners_count":22902109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T04:29:05.475Z","updated_at":"2025-06-13T21:39:25.245Z","avatar_url":"https://github.com/sourcec0de.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Agenda\n======\n\nThis aims to be a system for managing appointments, and customers.\n\n\nData structure\n\n##### Appointment\n\nAn appointment is a period of time that is booked to complete a certain job. Examples could be (assessing  a job quote, meeting with a client etc.).\n\nEach appointment needs to have a job, and a customer related to it. Even if the customer is a guest / new.\n\n```json\n{\n    \"id\":\"hashId\",\n    \"notes\":\"something specific about this appointment\",\n    // these time metrics will help analyze how long certain jobs take\n    \"estimated_start_time\":\"2014-08-22T01:57:02.359Z\",\n    \"estimated_end_time\":\"2014-08-22T01:57:02.359Z\",\n    \"actual_start_time\":\"2014-08-22T01:57:02.359Z\",\n    \"actual_end_time\":\"2014-08-22T01:57:02.359Z\",\n\n    // user estimates time - estimated_end time is managed server side\n    // this decides how long the appointments last \n    \"estimated_completion_time\": 30,\n    \"estimated_completion_metric\":\"minutes\",\n\n    // relational data\n    \"job_id\":\"hashId\",\n    \"customer_id\": \"hashId\",\n    \"location_id\": \"hashId\",\n\n    // if the customer was invoiced\n    // and if they paid it\n    \"invoiced\":true,\n    \"invoiced_at\":\"2014-08-22T01:57:02.359Z\",\n    \"invoice_payed\":true,\n    \"invoice_payed_at\":\"2014-08-22T01:57:02.359Z\",\n\n    // general record information\n    \"created_at\":\"2014-08-22T01:57:02.359Z\",\n    \"updated_at\":\"2014-08-22T01:57:02.359Z\",\n\n    // nothing is actually ever GONE :D\n    // archive that bitch\n    \"deleted_at\":\"2014-08-22T01:57:02.359Z\"\n}\n```\n\n##### Jobs\n\na job is description of a specific type of work. (carpet cleaning, quote, computer repair). A job can be assigned to an appointment and a customer can could have many jobs completed through appointments. \n\n```json\n{\n    \"id\":\"hashId\",\n    \"name\":\"Carpet Cleaning\",\n    \"description\":\"A sometimes very dirty job :(\",\n    \"created_at\":\"2014-08-22T01:57:02.359Z\",\n    \"updated_at\":\"2014-08-22T01:57:02.359Z\",\n    \"deleted_at\":\"2014-08-22T01:57:02.359Z\"\n}\n```\n\n##### Customer\n\nA customer can be one time or returning. They can have multiple locations associated with them. Assuming a job is completed remotley.\n\n```json\n{\n    \"id\":\"hashId\",\n    \"type\":\"recurring | partner | platinum\", // may need to break into its own model\n    \"first_name\":\"Jane\",\n    \"last_name\":\"Doe\",\n    \"phone_primary\":\"+xxxxxxxxxxx\",\n    \"phone_secondary\":\"+xxxxxxxxxxx\",\n    \"phone_primary_type\":\"mobile\",\n    \"phone_secondary_type\":\"home\",\n    \"email\":\"jane.doe@gmail.com\",\n    \"notes\":\"This person tends to not pay their bill on time\",\n    \"created_at\":\"2014-08-22T01:57:02.359Z\",\n    \"updated_at\":\"2014-08-22T01:57:02.359Z\",\n    \"deleted_at\":\"2014-08-22T01:57:02.359Z\"\n}\n```\n\n##### Location\n\nA location is a place where remote work is completed. When you clean carpets its required that you drive to the customers location to complete the work.\n\n```json\n{\n    \"id\":\"hashId\",\n    \"type\":\"apartment | home | industrial building\",\n    \"customer_id\":\"hashId\",\n    \"address_line_1\": \"100 I ST NE, Washington, D.C, 20003\",\n    \"address_line_2\": \"Unit 5000\",\n    \"cross_street\":\"New Jersey Ave\",\n    \"notes\": \"requires a keycode to gain access to premises\",\n    \"created_at\":\"2014-08-22T01:57:02.359Z\",\n    \"updated_at\":\"2014-08-22T01:57:02.359Z\",\n    \"deleted_at\":\"2014-08-22T01:57:02.359Z\"\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcec0de%2Fagenda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourcec0de%2Fagenda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourcec0de%2Fagenda/lists"}