{"id":14070028,"url":"https://github.com/total-typescript/zod-tutorial","last_synced_at":"2025-05-15T08:00:21.927Z","repository":{"id":62221161,"uuid":"525843389","full_name":"total-typescript/zod-tutorial","owner":"total-typescript","description":"A crash course on Zod - a schema validation library for TypeScript","archived":false,"fork":false,"pushed_at":"2025-05-05T01:44:33.000Z","size":285,"stargazers_count":600,"open_issues_count":11,"forks_count":183,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-05T02:33:54.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://totaltypescript.com","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/total-typescript.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,"zenodo":null}},"created_at":"2022-08-17T15:03:55.000Z","updated_at":"2025-05-02T15:26:33.000Z","dependencies_parsed_at":"2024-06-05T18:15:30.945Z","dependency_job_id":"3546f041-0a05-4809-82f9-a7fc3d5f5014","html_url":"https://github.com/total-typescript/zod-tutorial","commit_stats":{"total_commits":64,"total_committers":8,"mean_commits":8.0,"dds":0.390625,"last_synced_commit":"daf24fa2b4b32ae55aa3ffc607b2527d67918d39"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/total-typescript%2Fzod-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/total-typescript%2Fzod-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/total-typescript%2Fzod-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/total-typescript%2Fzod-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/total-typescript","download_url":"https://codeload.github.com/total-typescript/zod-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301420,"owners_count":22047901,"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-08-13T07:07:25.915Z","updated_at":"2025-05-15T08:00:21.708Z","avatar_url":"https://github.com/total-typescript.png","language":"TypeScript","funding_links":[],"categories":["others","TypeScript"],"sub_categories":[],"readme":"# Zod Tutorial\n\n\u003ca href=\"https://totaltypescript.com/tutorials/zod\"\u003e\u003cimg src=\"https://res.cloudinary.com/total-typescript/image/upload/v1709295832/github--zod-tutorial_2x_nuxnyj.jpg\" alt=\"zod tutorial\" /\u003eWatch on TotalTypeScript.com\u003c/a\u003e\n\nThis Zod tutorial will give you everything you ever needed to know about [Zod](https://github.com/colinhacks/zod) - an amazing library for building type-safe AND runtime-safe applications.\n\n```sh\n# Installs all dependencies\nnpm install\n\n# Asks you which exercise you'd like to run, and runs it\nnpm run exercise\n```\n\n## How to take the course\n\nYou'll notice that the course is split into exercises. Each exercise is split into a `*.problem` and a `*.solution`.\n\nTo take an exercise:\n\n1. Run `npm run exercise`\n2. Choose which exercise you'd like to run.\n\nThis course encourages **active, exploratory learning**. In the video, I'll explain a problem, and **you'll be asked to try to find a solution**. To attempt a solution, you'll need to:\n\n1. Check out [Zod's docs](https://zod.dev/).\n1. Try to find something that looks relevant.\n1. Give it a go to see if it solves the problem.\n\nYou'll know if you've succeeded because the tests will pass.\n\n**If you succeed**, or **if you get stuck**, unpause the video and check out the `*.solution`. You can see if your solution is better or worse than mine!\n\n## Acknowledgements\n\nSay thanks to Matt on [Twitter](https://twitter.com/mattpocockuk) or by joining his [Discord](https://discord.gg/8S5ujhfTB3). Consider signing up to his [Total TypeScript course](https://totaltypescript.com).\n\n## Reference\n\n### `npm run exercise`\n\nAlias: `npm run e`\n\nOpen a prompt for choosing which exercise you'd like to run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotal-typescript%2Fzod-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftotal-typescript%2Fzod-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftotal-typescript%2Fzod-tutorial/lists"}