{"id":19683916,"url":"https://github.com/prisma/blog-backend-rest-api-nestjs-prisma","last_synced_at":"2025-07-30T13:34:16.946Z","repository":{"id":38364489,"uuid":"498096379","full_name":"prisma/blog-backend-rest-api-nestjs-prisma","owner":"prisma","description":"A simple backend REST API for a blog built using NestJS, Prisma, PostgreSQL and Swagger.","archived":false,"fork":false,"pushed_at":"2024-04-11T09:42:14.000Z","size":216,"stargazers_count":182,"open_issues_count":7,"forks_count":46,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-22T03:08:26.228Z","etag":null,"topics":["nestjs","postgres","postgresql","prisma","rest-api","swagger","typescript"],"latest_commit_sha":null,"homepage":"https://www.prisma.io/blog/nestjs-prisma-rest-api-7D056s1BmOL0","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/prisma.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-05-30T21:05:55.000Z","updated_at":"2025-06-24T10:13:26.000Z","dependencies_parsed_at":"2025-03-04T10:11:15.297Z","dependency_job_id":"2b06328e-e061-4171-9130-dc183a02a6b4","html_url":"https://github.com/prisma/blog-backend-rest-api-nestjs-prisma","commit_stats":null,"previous_names":["prisma/blog-backend-rest-api-nestjs-prisma","tasinishmam/blog-backend-rest-api-nestjs-prisma"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prisma/blog-backend-rest-api-nestjs-prisma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prisma%2Fblog-backend-rest-api-nestjs-prisma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prisma%2Fblog-backend-rest-api-nestjs-prisma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prisma%2Fblog-backend-rest-api-nestjs-prisma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prisma%2Fblog-backend-rest-api-nestjs-prisma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prisma","download_url":"https://codeload.github.com/prisma/blog-backend-rest-api-nestjs-prisma/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prisma%2Fblog-backend-rest-api-nestjs-prisma/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267875738,"owners_count":24158781,"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":"2025-07-30T02:00:09.044Z","response_time":70,"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":["nestjs","postgres","postgresql","prisma","rest-api","swagger","typescript"],"created_at":"2024-11-11T18:16:05.604Z","updated_at":"2025-07-30T13:34:16.912Z","avatar_url":"https://github.com/prisma.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Blog-Backend-REST-API-NestJS-Prisma \n\nA simple backend REST API for a blog built using NestJS, Prisma, PostgreSQL and Swagger. \n\n### Installation\n\n1. Install dependencies: `npm install`\n2. Start a PostgreSQL database with docker using: `docker-compose up -d`. \n    - If you have a local instance of PostgreSQL running, you can skip this step. In this case, you will need to change the `DATABASE_URL` inside the `.env` file with a valid [PostgreSQL connection string](https://www.prisma.io/docs/concepts/database-connectors/postgresql#connection-details) for your database. \n3. Apply database migrations: `npx prisma migrate dev` \n4. Start the project:  `npm run start:dev`\n5. Access the project at http://localhost:3000/api","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprisma%2Fblog-backend-rest-api-nestjs-prisma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprisma%2Fblog-backend-rest-api-nestjs-prisma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprisma%2Fblog-backend-rest-api-nestjs-prisma/lists"}