{"id":21801115,"url":"https://github.com/wpcodevo/explore-prisma","last_synced_at":"2026-04-13T04:48:37.510Z","repository":{"id":121163638,"uuid":"522001389","full_name":"wpcodevo/explore-prisma","owner":"wpcodevo","description":"In this tutorial, you will learn how to set up and configure a PostgreSQL instance on your local development environment using Docker and Docker Compose. Next, you will use Prisma to create databases and models, as well as perform the basic CRUD, Create/Read/Update/Delete operations. Then, you will create Prisma associations for one-to-one, one-to-many, and many-to-many relationships.","archived":false,"fork":false,"pushed_at":"2022-10-02T21:08:34.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T23:04:56.972Z","etag":null,"topics":["mysql","postgres","postgresql","prisma","prisma-client","prisma-orm","prisma2","sqlite"],"latest_commit_sha":null,"homepage":"https://codevoweb.com/how-to-use-prisma-with-postgresql-sqlite-and-mysql","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/wpcodevo.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-08-06T16:43:23.000Z","updated_at":"2025-04-16T13:25:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd3f6d05-513f-45b1-a692-91cd52ab9c3e","html_url":"https://github.com/wpcodevo/explore-prisma","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wpcodevo/explore-prisma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fexplore-prisma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fexplore-prisma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fexplore-prisma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fexplore-prisma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpcodevo","download_url":"https://codeload.github.com/wpcodevo/explore-prisma/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fexplore-prisma/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263819139,"owners_count":23516116,"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":["mysql","postgres","postgresql","prisma","prisma-client","prisma-orm","prisma2","sqlite"],"created_at":"2024-11-27T11:16:22.709Z","updated_at":"2026-04-13T04:48:32.484Z","avatar_url":"https://github.com/wpcodevo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How To Use Prisma with PostgreSQL, SQLite, and MySQL\n\nIn this tutorial, you will learn how to set up and configure a PostgreSQL instance on your local development environment using Docker and Docker Compose. \nNext, you will use Prisma to create databases and models, as well as perform the basic CRUD, Create/Read/Update/Delete operations. \nThen, you will create Prisma associations for one-to-one, one-to-many, and many-to-many relationships.\n\n![How To Use Prisma with PostgreSQL, SQLite, and MySQL](https://codevoweb.com/wp-content/uploads/2022/08/How-To-Use-Prisma-with-PostgreSQL-SQLite-and-MySQL.webp)\n\n## Topics Covered\n\n- How Does Prisma Work?\n- Create a Sample PostgreSQL Database\n- Install and Configure Prisma\n    - Initialize a Node.js TypeScript Project\n    - Set up Prisma\n    - Create a Simple Schema\n    - Run the Database Migration with Prisma\n    - Connecting the App to the Database\n    - Start the Application\n    - Create/Read/Update/Delete with Prisma\n- Create a Database Model with Prisma\n- Migrate the Prisma Model to the Database\n- Create Model Relationships with Prisma\n    - Creating a One-to-One Relationship\n    - Creating a Single One-to-Many Relationship\n    - Creating Multiple One-to-Many Relationships\n    - Creating Many-to-Many Relationships\n- Using Prisma Client for Database Queries\n    - Inserting a New Record\n    - Inserting Multiple Records\n    - Query All Records\n    - Query a Single Record\n    - Update a Record\n    - Update Multiple Records\n    - Delete Multiple Records\n- Create Services with Prisma\nRead the entire article here: [https://codevoweb.com/how-to-use-prisma-with-postgresql-sqlite-and-mysql](https://codevoweb.com/how-to-use-prisma-with-postgresql-sqlite-and-mysql)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fexplore-prisma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpcodevo%2Fexplore-prisma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fexplore-prisma/lists"}