{"id":18331217,"url":"https://github.com/bankole2000/basic-zod-project","last_synced_at":"2025-06-12T15:39:00.080Z","repository":{"id":109352089,"uuid":"477497637","full_name":"Bankole2000/basic-zod-project","owner":"Bankole2000","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-04T00:07:00.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T20:29:02.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bankole2000.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-04T00:05:57.000Z","updated_at":"2022-04-04T00:07:04.000Z","dependencies_parsed_at":"2023-07-27T04:45:47.730Z","dependency_job_id":null,"html_url":"https://github.com/Bankole2000/basic-zod-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bankole2000/basic-zod-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fbasic-zod-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fbasic-zod-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fbasic-zod-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fbasic-zod-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bankole2000","download_url":"https://codeload.github.com/Bankole2000/basic-zod-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bankole2000%2Fbasic-zod-project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259495074,"owners_count":22866618,"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-05T19:28:44.693Z","updated_at":"2025-06-12T15:39:00.048Z","avatar_url":"https://github.com/Bankole2000.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lugah Schedule Demo Service\n\nREST API for collection of contact information and demo presentation requests\n\nBuilt with: \n1. Node JS\n2. TypeScript\n3. Express\n4. Prisma \n5. PostgreSQL\n6. Deployed to heroku\n\n### Types\n```js\ntype Contact = {\n  id?: string | number,\n  email: string,\n  firstname: string,\n  lastname: string,\n  phone?: string,\n  company?: string,\n  industry?: string,\n  location: string,\n  scheduledDemos: ScheduledDemo[],\n  createdAt?: DateTime,\n  updatedAt?: DateTime,\n}\n\ntype ScheduledDemo = {\n  id?: string | number,\n  requestedDate: DateTime,\n  template?: string,\n  moreInfo?: string,\n  contact: Contact[],\n  createdAt?: DateTime,\n  updatedAt?: DateTime\n}\n```\n\n### API Base URL\nIs currently running at - [https://lugahfront.herokuapp.com/](https://lugahfront.herokuapp.com/)\n\n### End points\n| Method | Path             | Data                               | Response                                    |\n| ------ | ---------------- | ---------------------------------- | ------------------------------------------- |\n| GET    | \"/\"              | null                               | Returns JSON object with some api meta data |\n| GET    | \"/contacts\"         | null                               | Returns all Contacts in database               |\n| POST   | \"/contacts\"         | contact: Contact                     | Returns created Contact item                   |\n| GET    | \"/contacts/:contactId\"     | {params: id}                       | Returns single contact of id :id          |\n| PATCH  | \"/contacts/:contactId\"     | {params: id} todo fields to update | Returns updated contact                   |\n| DELETE | \"/contacts/:contactId\"     | {params: id}                       | Returns deleted contact of id :id                |\n| GET    | \"/schedule-demo\"         | null                               | Returns all Scheduled Demos in database               |\n| POST   | \"/schedule-demo\"         | scheduled Demo Item: ScheduledDemo                     | Returns created demo Schedule Request item                   |\n| GET    | \"/schedule-demo/:scheduleId\"     | {params: id}                       | Returns single Schedule Request item of id :scheduleId          |\n| PATCH  | \"/schedule-demo/:scheduleId\"     | {params: id} ScheduledDemo fields to update | Returns updated Schedule Request item                   |\n| DELETE | \"/schedule-demo/:scheduleId\"     | {params: id}                       | Returns deleted Schedule Request item of id :scheduleId                |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbankole2000%2Fbasic-zod-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbankole2000%2Fbasic-zod-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbankole2000%2Fbasic-zod-project/lists"}