{"id":17354076,"url":"https://github.com/forinda/prisma-mock-db-test","last_synced_at":"2026-04-08T16:31:39.007Z","repository":{"id":103064935,"uuid":"592902433","full_name":"forinda/prisma-mock-db-test","owner":"forinda","description":"A testing express template for unit testing your express application","archived":false,"fork":false,"pushed_at":"2023-01-24T19:50:13.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-24T23:14:46.750Z","etag":null,"topics":["expressjs","mock-db","prisma","prisma-client","prisma-mock","prisma-orm","test-db-mock","testing","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/forinda.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-24T19:28:34.000Z","updated_at":"2023-01-24T19:52:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"e704e149-248e-4b6d-82a9-c87c7c693b1c","html_url":"https://github.com/forinda/prisma-mock-db-test","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/forinda/prisma-mock-db-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forinda%2Fprisma-mock-db-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forinda%2Fprisma-mock-db-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forinda%2Fprisma-mock-db-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forinda%2Fprisma-mock-db-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forinda","download_url":"https://codeload.github.com/forinda/prisma-mock-db-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forinda%2Fprisma-mock-db-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31564854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["expressjs","mock-db","prisma","prisma-client","prisma-mock","prisma-orm","test-db-mock","testing","typescript"],"created_at":"2024-10-15T17:18:56.807Z","updated_at":"2026-04-08T16:31:38.992Z","avatar_url":"https://github.com/forinda.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prisma Singleton mock Expressjs with database testing\n\nThis is a simple implementation of mocking database tests without hitting the database\nThis is necessary and handy when testing functionalities of your application\n\nTo get started with the project\n\n- Nodejs\n- Expressjs\n- SQLite\n- Jest\n\nRun\n```sh\n\u003cnpm|pnpm|yarn\u003e install \n```\nThen initialize your db\n```sh\nnpx prisma init --datasource-provider sqlite\n```\nMake initial migrations\n```sh\nnpx prisma migrate dev --name init\n```\n\nYou can use the prisma studio to visualize the models defined\n```sh\nnpx prisma studio\n```\nTo run tour tests just run\n```sh\nnpm run test\n```\n![Image](./assets/prisma.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforinda%2Fprisma-mock-db-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforinda%2Fprisma-mock-db-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforinda%2Fprisma-mock-db-test/lists"}