{"id":18451476,"url":"https://github.com/trasherdk/prisma-express-rest-api","last_synced_at":"2026-03-19T04:27:01.287Z","repository":{"id":42511998,"uuid":"461145752","full_name":"trasherdk/prisma-express-rest-api","owner":"trasherdk","description":"Prisma Express REST API with Validation","archived":false,"fork":false,"pushed_at":"2023-03-07T09:58:38.000Z","size":276,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T09:55:49.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/trasherdk.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-02-19T09:36:08.000Z","updated_at":"2022-06-30T01:59:28.000Z","dependencies_parsed_at":"2024-12-25T03:25:51.484Z","dependency_job_id":null,"html_url":"https://github.com/trasherdk/prisma-express-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fprisma-express-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fprisma-express-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fprisma-express-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trasherdk%2Fprisma-express-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trasherdk","download_url":"https://codeload.github.com/trasherdk/prisma-express-rest-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249708873,"owners_count":21313942,"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-06T07:28:46.014Z","updated_at":"2026-01-24T00:50:54.814Z","avatar_url":"https://github.com/trasherdk.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prisma Express REST API Example\n\n## Installation\n\n```sh\n# Install deps\n$ yarn\n\n# Migrate\n$ npx prisma migrate save --name init --experimental \n$ npx prisma migrate up --experimental\n\n# Generate Prisma client\n$ npx prisma generate\n```\n\n## Development\n\n```sh\n$ yarn dev\n```\n\n## Build\n\n```sh\n$ yarn build\n```\n\n## Using the REST API\n\n### `GET`\n\n- `/users`: Fetch all users\n- `/users/:id`: Fetch a single users by its `id`\n- `/posts`: Fetch all posts\n- `/posts/:id`: Fetch a single post by its `id`\n\n### `POST`\n\n- `/users`: Create a new user\n- `/posts`: Create a new post\n\n### `PUT`\n\n- `/users/:id`: Update a user by its `id`\n- `/posts/:id`: Update a post by its `id`\n\n### `DELETE`\n\n- `/users/:id`: Delete a user by its `id`\n- `/posts/:id`: Delete a post by its `id`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrasherdk%2Fprisma-express-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrasherdk%2Fprisma-express-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrasherdk%2Fprisma-express-rest-api/lists"}