{"id":22430122,"url":"https://github.com/2wce/prisma-template","last_synced_at":"2025-08-01T11:32:12.484Z","repository":{"id":38173473,"uuid":"252174473","full_name":"2wce/prisma-template","owner":"2wce","description":"Template for Prisma 5.* with Permissions,Tests \u0026 Auth","archived":true,"fork":false,"pushed_at":"2024-03-07T08:59:22.000Z","size":3381,"stargazers_count":16,"open_issues_count":14,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T07:24:03.507Z","etag":null,"topics":["biomejs","bun","graphql","hacktoberfest","prisma","prisma-client","typescript"],"latest_commit_sha":null,"homepage":"https://www.prisma.io/?utm_source=Prisma+Ambassador\u0026utm_medium=Blog+post\u0026utm_campaign=Prisma+AP+Kudakwashe+Mupeni","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2wce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-04-01T12:52:53.000Z","updated_at":"2025-03-30T01:40:48.000Z","dependencies_parsed_at":"2024-01-25T22:25:36.307Z","dependency_job_id":null,"html_url":"https://github.com/2wce/prisma-template","commit_stats":null,"previous_names":[],"tags_count":45,"template":true,"template_full_name":null,"purl":"pkg:github/2wce/prisma-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2wce%2Fprisma-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2wce%2Fprisma-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2wce%2Fprisma-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2wce%2Fprisma-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2wce","download_url":"https://codeload.github.com/2wce/prisma-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2wce%2Fprisma-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268215577,"owners_count":24214363,"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-08-01T02:00:08.611Z","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":["biomejs","bun","graphql","hacktoberfest","prisma","prisma-client","typescript"],"created_at":"2024-12-05T21:07:27.967Z","updated_at":"2025-08-01T11:32:12.016Z","avatar_url":"https://github.com/2wce.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  Prisma Template\n\u003c/h1\u003e\n\n![Release](https://github.com/2wce/prisma-template/actions/workflows/release.yml/badge.svg)\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nBefore we get started, we're going to need to make sure we have a few things installed and available on our machine.\n\n#### Node \u003e= 12\n\n#### Docker\n\nUse the installation guide from here:\n\nhttps://www.docker.com/products/docker-desktop\n\n##### MacOS\n\n```bash\ncurl \"https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest/ | sed -nE 's|.*\u003enode-(.*)\\.pkg\u003c/a\u003e.*|\\1|p')}.pkg\" \u003e \"$HOME/Downloads/node-latest.pkg\" \u0026\u0026 sudo installer -store -pkg \"$HOME/Downloads/node-latest.pkg\" -target \"/\"\n```\n\n##### Other\n\nSee the installation guides available @ nodejs.org:\n\nhttps://nodejs.org/en/download/package-manager/\n\n### Installing\n\nBelow is a series of step by step instructions that tell you how to get a development env running.\n\nCreate a local clone of the repository\n\n```bash\ngit clone git@github.com:2wce/prisma-template.git\n```\n\nEnter the cloned repositories' directory\n\n```bash\ncd prisma-template\n```\n\nCreate a `.env` file based on the [.env.example template](.env.example)\n\nIf you have a local MySQL database you can use it's details in the `.env` file. If not, you can run the docker container \u0026 use it's default values.\n\n```bash\ndocker compose up -d\n```\n\nExport the contents of the created `.env` file to the current terminal session.\n\n```bash\nset -o allexport; source .env; set +o allexport\n```\n\nInstall the projects dependencies\n\n```bash\nnpm i\n```\n\nStart the projects development server\n\n```bash\nyarn dev\n```\n\nThe project should now be available at http://localhost:4000\n\n![graphql playground](https://i.imgur.com/h1xqghS.png)\n\nStart the db viewer in another terminal to view your database\n\n```bash\nnpx prisma studio\n```\n\n## Testing\n\nYou can run local tests using\n\n```bash\nyarn test\n```\n\n## Example Flow\n\nYou can find the example flow \u0026 queries in here: [ExampleFlow.md](ExampleFlow.md)\n\n## Deployment\n\nDeployments are handled by github actions, below is an overview of how the deployments work:\n\n1. Dependencies are installed with `npm i`\n2. Unit tests are run with `yarn test`\n\n## Environment Variables\n\nThese are the environment variables required to successfully deploy the application.\n\n| key          | description |\n| ------------ | ----------- |\n| DATABASE_URL | DB url      |\n\n## Built With\n\nDetails of the tech stack that has been used.\n\n- [Typescript](https://typescript.com/) - TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\n- [Prisma](https://www.prisma.io/) - Next-generation ORM\n  for Node.js and TypeScript\n\n## Versioning\n\nThis project uses [SemVer](http://semver.org/) for versioning. Versioning occurs automatically in the pipelines using [Semantic Release](https://github.com/semantic-release/semantic-release). For the versions available, see the tags on this repository.\n\n## Changelog\n\nA running changelog can be found here: [CHANGELOG.md](CHANGELOG.md)\n\n## Authors\n\n- **Kudakwashe Mupeni** \u003ckudamupeni@gmail.com\u003e\n\n## Licenses\n\n```\n├─ MIT: 386\n├─ ISC: 32\n├─ BSD-3-Clause: 30\n├─ Apache-2.0: 11\n├─ BSD-2-Clause: 7\n├─ CC-BY-4.0: 1\n├─ (MIT AND BSD-3-Clause): 1\n├─ 0BSD: 1\n└─ (MIT OR CC0-1.0): 1\n```\n\n## Meta\n\n| Version | Author                                   | Date       |\n| ------- | ---------------------------------------- | ---------- |\n| 0.0.1   | Kudakwashe Mupeni \u003ckudamupeni@gmail.com\u003e | 20/09/2021 |\n| 0.0.2   | Kudakwashe Mupeni \u003ckudamupeni@gmail.com\u003e | 21/09/2021 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2wce%2Fprisma-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2wce%2Fprisma-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2wce%2Fprisma-template/lists"}