{"id":31482596,"url":"https://github.com/devsafix/next-blog-backend","last_synced_at":"2025-10-02T07:56:25.315Z","repository":{"id":315936668,"uuid":"1056230147","full_name":"devsafix/next-blog-backend","owner":"devsafix","description":"A simple Blog Application built with TypeScript, Express.js, Prisma, PostgreSQL.","archived":false,"fork":false,"pushed_at":"2025-09-21T17:16:48.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-21T19:21:47.358Z","etag":null,"topics":["cors","expressjs","nodejs","pnpm","postgresql","prisma-orm","typescript"],"latest_commit_sha":null,"homepage":"","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/devsafix.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-13T16:51:31.000Z","updated_at":"2025-09-21T17:16:51.000Z","dependencies_parsed_at":"2025-09-21T19:32:48.692Z","dependency_job_id":null,"html_url":"https://github.com/devsafix/next-blog-backend","commit_stats":null,"previous_names":["devsafix/next-blog-backend"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/devsafix/next-blog-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsafix%2Fnext-blog-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsafix%2Fnext-blog-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsafix%2Fnext-blog-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsafix%2Fnext-blog-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devsafix","download_url":"https://codeload.github.com/devsafix/next-blog-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devsafix%2Fnext-blog-backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277974431,"owners_count":25908396,"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-10-02T02:00:08.890Z","response_time":67,"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":["cors","expressjs","nodejs","pnpm","postgresql","prisma-orm","typescript"],"created_at":"2025-10-02T07:56:24.374Z","updated_at":"2025-10-02T07:56:25.309Z","avatar_url":"https://github.com/devsafix.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Building a Blog App to Practice Prisma ORM\n\nA simple **Blog Application** built with **TypeScript, Express.js, Prisma, PostgreSQL**.\n\n---\n\n## Features\n\n- User Management\n- Blog Post Management\n- Blog Stats Using Prisma Aggregate\n- Modular project structure\n- Ready to extend with blog modules\n\n---\n\n## Installation\n\nClone the repository:\n\n```bash\ngit clone https://github.com/devsafix/next-blog-backend\ncd prisma-blog-app\n```\n\nInstall dependencies:\n\n```bash\n# using npm\nnpm install\n\n# using yarn\nyarn install\n\n# using pnpm\npnpm install\n```\n\nSetup environment variables:\n\n```bash\ncp .env.example .env\n```\n\nRun the development server:\n\n```bash\n# using npm\nnpm run dev\n\n# using yarn\nyarn dev\n\n# using pnpm\npnpm dev\n```\n\n---\n\n## Folder Structure\n\n```\nPrisma-Blog/\n│── node_modules/          # Dependencies\n│── src/\n│   ├── app.ts             # Express app configuration\n│   ├── server.ts          # Server entry point\n│   ├── config/            # Environment \u0026 configuration files\n│   └── modules/           # Application modules (posts, users, etc.)\n│── package.json           # Project metadata \u0026 scripts\n│── package-lock.json         # Lockfile (npm)\n│── tsconfig.json          # TypeScript configuration\n│── README.md              # Documentation\n```\n\n---\n\n## Scripts\n\n```bash\n# Run in development mode\nnpm dev\n\n# Build for production\nnpm build\n\n# Run production build\nnpm start\n```\n\n---\n\n## Learning Objective\n\n- Connect a Node.js app with Prisma ORM\n- Build modular APIs\n- Manage environment variables\n- Structure scalable backend projects\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsafix%2Fnext-blog-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsafix%2Fnext-blog-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsafix%2Fnext-blog-backend/lists"}