{"id":24764621,"url":"https://github.com/juancarlosjr97/next-typescript-prisma-postgresql","last_synced_at":"2026-04-12T12:37:05.236Z","repository":{"id":119546533,"uuid":"600884761","full_name":"juancarlosjr97/next-typescript-prisma-postgresql","owner":"juancarlosjr97","description":"Next TypeScript Prisma PostgreSQL","archived":false,"fork":false,"pushed_at":"2023-02-12T22:14:03.000Z","size":240,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T18:16:33.125Z","etag":null,"topics":["next","postgresql","prisma","react","typescript"],"latest_commit_sha":null,"homepage":"","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/juancarlosjr97.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-12T21:50:26.000Z","updated_at":"2025-02-21T22:47:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"49408baa-6f1f-4e60-ad0c-a815cde45d40","html_url":"https://github.com/juancarlosjr97/next-typescript-prisma-postgresql","commit_stats":null,"previous_names":[],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/juancarlosjr97/next-typescript-prisma-postgresql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlosjr97%2Fnext-typescript-prisma-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlosjr97%2Fnext-typescript-prisma-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlosjr97%2Fnext-typescript-prisma-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlosjr97%2Fnext-typescript-prisma-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juancarlosjr97","download_url":"https://codeload.github.com/juancarlosjr97/next-typescript-prisma-postgresql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juancarlosjr97%2Fnext-typescript-prisma-postgresql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31715492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"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":["next","postgresql","prisma","react","typescript"],"created_at":"2025-01-28T22:33:17.666Z","updated_at":"2026-04-12T12:37:05.207Z","avatar_url":"https://github.com/juancarlosjr97.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next TypeScript Prisma PostgreSQL Project\n\n[![Development](https://github.com/juancarlosjr97/next-typescript-prisma-postgresql/actions/workflows/development.yml/badge.svg)](https://github.com/juancarlosjr97/next-typescript-prisma-postgresql/actions/workflows/development.yml)\n\nThis project is to demonstrate how to setup a project using [Next.js](https://nextjs.org/learn/foundations/about-nextjs) with TypeScript as a web application with Prisma as the ORM using PostgreSQL v15 as the data source as a Full Stack Web App.\n\n## Prerequisites\n\nThe following services are require for development:\n\n- [GIT](https://git-scm.com/)\n- [nvm](https://github.com/nvm-sh/nvm)\n- [Docker](https://docs.docker.com/get-docker/)\n\n## Project Setup\n\n### Dependencies\n\n1. Fork the project and clone your GitHub project\n\n   ```bash\n   git clone https://github.com/${USER_NAME}/quick-id-verification\n   ```\n\n2. Install node and npm version of the project\n\n   ```bash\n   nvm use\n   npm install -g npm@${NPM_VERSION}\n   ```\n\n3. Install project dependencies\n\n   ```bash\n   npm ci\n   ```\n\n4. Copy `.env`\n\n   ```bash\n   cp .env-local .env\n   ```\n\n### Start Database\n\n1. Start the database using Docker\n\n   ```bash\n   npm run docker\n   ```\n\n2. Import migration to Database\n\n   ```bash\n    npm run prisma:deploy\n   ```\n\nThe command will import the migrations created to the database.\n\n### Start the Next app\n\n1. Start the Next app\n\n   ```bash\n   npm run dev\n   ```\n\nThe app will be running on the port `3000` and accessible in `http://localhost:3000`\n\n## Test\n\nTo run tests is required to have the web app running.\n\n1. Run unit and E2E tests\n\n   ```bash\n   npm run test\n   ```\n\n2. Run coverage check\n\n   ```bash\n   npm run test:coverage:check\n   ```\n\n## Development with Codespaces\n\nThe app has a predefined Codespaces configuration available at `.devcontainer/devcontainer.json` as this web app has been developed using Codespaces.\n\nFollow this [guide](https://docs.github.com/en/codespaces/getting-started/quickstart) on how to get started with Codespaces.\n\n## Acknowledgment\n\nThe project has been inspired on a [Prisma example](https://github.com/prisma/prisma-examples/tree/latest/typescript/rest-nextjs-api-routes).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuancarlosjr97%2Fnext-typescript-prisma-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuancarlosjr97%2Fnext-typescript-prisma-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuancarlosjr97%2Fnext-typescript-prisma-postgresql/lists"}