{"id":26269439,"url":"https://github.com/pritam1717m/medium","last_synced_at":"2026-04-10T12:04:19.963Z","repository":{"id":275565196,"uuid":"926462610","full_name":"pritam1717m/Medium","owner":"pritam1717m","description":"A full stack blog application using React, Hono, Cloudflare and Prisma(PostgreSQL)","archived":false,"fork":false,"pushed_at":"2025-03-13T17:40:14.000Z","size":394,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T18:41:34.996Z","etag":null,"topics":["cloudflare","honojs","postgresql","prisma-orm","typescript"],"latest_commit_sha":null,"homepage":"https://medium-seven-delta.vercel.app","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/pritam1717m.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":"2025-02-03T09:52:29.000Z","updated_at":"2025-03-13T17:40:18.000Z","dependencies_parsed_at":"2025-02-03T11:22:05.833Z","dependency_job_id":"9b3205bf-3714-4122-8115-d004079a1109","html_url":"https://github.com/pritam1717m/Medium","commit_stats":null,"previous_names":["pritam1717m/medium"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritam1717m%2FMedium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritam1717m%2FMedium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritam1717m%2FMedium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritam1717m%2FMedium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pritam1717m","download_url":"https://codeload.github.com/pritam1717m/Medium/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243526941,"owners_count":20305115,"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":["cloudflare","honojs","postgresql","prisma-orm","typescript"],"created_at":"2025-03-14T05:14:13.731Z","updated_at":"2025-12-29T12:57:04.826Z","avatar_url":"https://github.com/pritam1717m.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @rafael1717/common\nThis package provides Zod validation schemas for authentication and blog-related operations. It ensures that API inputs meet the required structure and types before processing.\n\n# Installation\n\n```js\nnpm i @rafael1717/common\n```\n# Validation Schemas\n+ Validates user signup details:\n```js\nconst result = signUpBody.safeParse({\n  name: \"John Doe\",\n  email: \"john@example.com\",\n  password: \"securePassword123\",\n});\n```\n+ Validates user login details:\n```js\nconst result = signInBody.safeParse({\n  email: \"john@example.com\",\n  password: \"securePassword123\",\n});\n```\n+ Validates blog creation input:\n```js\nconst result = createBlogInput.safeParse({\n  title: \"My First Blog\",\n  content: \"This is my first blog post.\"\n});\n```\n+ Validates blog update input:\n```js\nconst result = updateBlogInput.safeParse({\n  id: \"123\",\n  title: \"Updated Blog Title\",\n  content: \"Updated blog content.\"\n});\n```\n# TypeScript Support\n+ This package provides TypeScript types inferred from Zod schemas:\n```ts\ntype SignUpInput = zod.infer\u003ctypeof signUpBody\u003e;\ntype SignInInput = zod.infer\u003ctypeof signInBody\u003e;\ntype CreateBlogInput = zod.infer\u003ctypeof createBlogInput\u003e;\ntype UpdateBlogInput = zod.infer\u003ctypeof updateBlogInput\u003e;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritam1717m%2Fmedium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpritam1717m%2Fmedium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritam1717m%2Fmedium/lists"}