{"id":21404612,"url":"https://github.com/awebcode/express-ts-prisma-tutorial","last_synced_at":"2026-01-03T15:03:59.304Z","repository":{"id":260750469,"uuid":"882245219","full_name":"awebcode/express-ts-prisma-tutorial","owner":"awebcode","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-02T09:59:36.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T16:45:38.637Z","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/awebcode.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":"2024-11-02T09:39:32.000Z","updated_at":"2024-11-02T09:59:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3b7212d-f91b-4d80-b7b0-edc3179e3402","html_url":"https://github.com/awebcode/express-ts-prisma-tutorial","commit_stats":null,"previous_names":["awebcode/express-ts-prisma-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awebcode/express-ts-prisma-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebcode%2Fexpress-ts-prisma-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebcode%2Fexpress-ts-prisma-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebcode%2Fexpress-ts-prisma-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebcode%2Fexpress-ts-prisma-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awebcode","download_url":"https://codeload.github.com/awebcode/express-ts-prisma-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awebcode%2Fexpress-ts-prisma-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28190764,"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","status":"online","status_checked_at":"2026-01-03T02:00:06.471Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-22T16:16:51.298Z","updated_at":"2026-01-03T15:03:59.289Z","avatar_url":"https://github.com/awebcode.png","language":"TypeScript","readme":"# nodejs-bun\n\n\n# Key Features of This Implementation:\n- Express Setup: Basic Express server setup with JSON body parsing.\n- Prisma \u0026 POSTGRESQL\n- MVC Architecture\n- CRUD Operations: Handlers for creating, reading, updating, and deleting Book items.\n- UUID Handling: Uses UUIDs for the id field.\n- Zod Validation: Validates incoming requests to - - - ensure that the title is provided and that it meets specified criteria.\nError Handling: Includes basic error handling for not found routes and general errors.\nRunning the Server\nEnsure you have your PostgreSQL database running and the DATABASE_URL environment variable set up correctly in your .env file.\n\nTo install dependencies:\n\n```bash\nbun install\n```\n\nTo run:\n\n```bash\nbun run index.ts\n```\n\nThis project was created using `bun init` in bun v1.1.26. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.\n\n\n\n## npx prisma migrate dev --name create-book\nnpx prisma generate\nStart the server:\n\n## npx ts-node src/index.ts\n(Assuming your server file is named index.ts and located in a src folder)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawebcode%2Fexpress-ts-prisma-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawebcode%2Fexpress-ts-prisma-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawebcode%2Fexpress-ts-prisma-tutorial/lists"}