{"id":19683881,"url":"https://github.com/prisma/prisma-example-starter-template","last_synced_at":"2025-02-27T07:21:17.422Z","repository":{"id":45977722,"uuid":"510736778","full_name":"prisma/prisma-example-starter-template","owner":"prisma","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-29T17:22:38.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T11:08:21.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/prisma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-05T12:57:01.000Z","updated_at":"2024-04-29T17:22:41.000Z","dependencies_parsed_at":"2022-07-18T05:21:01.834Z","dependency_job_id":null,"html_url":"https://github.com/prisma/prisma-example-starter-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prisma%2Fprisma-example-starter-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prisma%2Fprisma-example-starter-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prisma%2Fprisma-example-starter-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prisma%2Fprisma-example-starter-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prisma","download_url":"https://codeload.github.com/prisma/prisma-example-starter-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240993372,"owners_count":19890418,"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-11T18:15:58.617Z","updated_at":"2025-02-27T07:21:17.386Z","avatar_url":"https://github.com/prisma.png","language":null,"readme":"# Prisma Example Title\n\nBrief example intro/description – what does this example do and what stack is it built with\n\n## Getting started\n\n## Download and install dependencies\n\nClone this repository:\n\n```\ngit clone git@github.com:\u003corg\u003e/\u003crepo-name\u003e.git\n```\n\nInstall dependencies:\n\n```\ncd \u003crepo name\u003e\nnpm i\n```\n\n## Configure your project\n\n## Create and seed the database\n\n```\nnpm run seed\n```\n\n## Evolving the app\n\n\u003cdetails\u003e\u003csummary\u003eExpand for an overview of example configurations with different databases\u003c/summary\u003e\n\n### PostgreSQL\n\nFor PostgreSQL, the connection URL has the following structure:\n\n```prisma\ndatasource db {\n  provider = \"postgresql\"\n  url      = \"postgresql://USER:PASSWORD@HOST:PORT/DATABASE?schema=SCHEMA\"\n}\n```\n\nHere is an example connection string with a local PostgreSQL database:\n\n```prisma\ndatasource db {\n  provider = \"postgresql\"\n  url      = \"postgresql://janedoe:mypassword@localhost:5432/notesapi?schema=public\"\n}\n```\n\n### MySQL\n\nFor MySQL, the connection URL has the following structure:\n\n```prisma\ndatasource db {\n  provider = \"mysql\"\n  url      = \"mysql://USER:PASSWORD@HOST:PORT/DATABASE\"\n}\n```\n\nHere is an example connection string with a local MySQL database:\n\n```prisma\ndatasource db {\n  provider = \"mysql\"\n  url      = \"mysql://janedoe:mypassword@localhost:3306/notesapi\"\n}\n```\n\n### Microsoft SQL Server\n\nHere is an example connection string with a local Microsoft SQL Server database:\n\n```prisma\ndatasource db {\n  provider = \"sqlserver\"\n  url      = \"sqlserver://localhost:1433;initial catalog=sample;user=sa;password=mypassword;\"\n}\n```\n\n### MongoDB\n\nHere is an example connection string with a local MongoDB database:\n\n```prisma\ndatasource db {\n  provider = \"mongodb\"\n  url      = \"mongodb://USERNAME:PASSWORD@HOST/DATABASE?authSource=admin\u0026retryWrites=true\u0026w=majority\"\n}\n```\nBecause MongoDB is currently in [Preview](https://www.prisma.io/docs/about/releases#preview), you need to specify the `previewFeatures` on your `generator` block:\n\n```\ngenerator client {\n  provider        = \"prisma-client-js\"\n  previewFeatures = [\"mongodb\"]\n}\n```\n\u003c/details\u003e\n\n## Next steps\n\n- Check out the [Prisma docs](https://www.prisma.io/docs)\n- Create issues and ask questions on [GitHub](https://github.com/prisma/prisma/)\n\n## Contributing to this project\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprisma%2Fprisma-example-starter-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprisma%2Fprisma-example-starter-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprisma%2Fprisma-example-starter-template/lists"}