{"id":27217831,"url":"https://github.com/jirihofman/nextjs-fullstack-app-template","last_synced_at":"2025-04-10T05:32:01.833Z","repository":{"id":65292555,"uuid":"586352212","full_name":"jirihofman/nextjs-fullstack-app-template","owner":"jirihofman","description":"A template for creating a fullstack Next.js application with React Bootstrap and Clerk using Cypress and GitHub Actions.","archived":false,"fork":false,"pushed_at":"2025-03-22T08:29:59.000Z","size":1836,"stargazers_count":6,"open_issues_count":8,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-22T09:25:20.637Z","etag":null,"topics":["bootstrap5","clerk","cypress","fullstack","fullstack-javascript","github-actions","next-translate","nextjs","react-bootstrap"],"latest_commit_sha":null,"homepage":"https://nextjs-fullstack-app-template-potato.vercel.app","language":"JavaScript","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/jirihofman.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":"2023-01-07T20:34:25.000Z","updated_at":"2025-03-22T08:28:37.000Z","dependencies_parsed_at":"2023-01-16T08:15:52.347Z","dependency_job_id":"7964c905-037e-4c95-8d79-e589b58930bb","html_url":"https://github.com/jirihofman/nextjs-fullstack-app-template","commit_stats":null,"previous_names":[],"tags_count":2,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirihofman%2Fnextjs-fullstack-app-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirihofman%2Fnextjs-fullstack-app-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirihofman%2Fnextjs-fullstack-app-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jirihofman%2Fnextjs-fullstack-app-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jirihofman","download_url":"https://codeload.github.com/jirihofman/nextjs-fullstack-app-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248163125,"owners_count":21057874,"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":["bootstrap5","clerk","cypress","fullstack","fullstack-javascript","github-actions","next-translate","nextjs","react-bootstrap"],"created_at":"2025-04-10T05:32:01.264Z","updated_at":"2025-04-10T05:32:01.753Z","avatar_url":"https://github.com/jirihofman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nextjs app template\nBased on [alexeagleson/nextjs-fullstack-app-template](https://github.com/alexeagleson/nextjs-fullstack-app-template).\n\n[![codecov](https://codecov.io/gh/jirihofman/nextjs-fullstack-app-template/branch/master/graph/badge.svg)](https://codecov.io/gh/jirihofman/nextjs-fullstack-app-template)\n\n## Removed\nFollowing features were removed from `alexeagleson/nextjs-fullstack-app-template`:\n- typescript\n- .vscode\n- prettier\n- storybook\n\n## Added\nFollowing features not in  `alexeagleson/nextjs-fullstack-app-template` were added into this template repository:\n- implement unit and end-to-end testing in a Nextjs app with Jest and Cypress\n- create CI/CD pipeline with Github actions and Vercel\n- internationalization using [next-translate](https://github.com/aralroca/next-translate)\n- Clerk\n- connect a Postgres database to your Next.js app using Prisma and @vercel/postgress\n- code coverage via [codecov.io](https://codecov.io)\n\n## Code coverage notes\n\nAdded in order for Cypress to produce coverage into `cypress-coverage` folder instead of `coverage`. Note that the folder `cypress-coverage` is used for both component and e2e Cypress tests. That's why the coverage summary needs to be exported right after the first Cypress test (in this case component) finishes and before the other (e2e, see package.json scripts for ordering) begins.\n```json\n\"nyc\": {\n    \"report-dir\": \"cypress-coverage\"\n  },\n```\n\nIn order to generate coverage for Cypress component testing, there needs to be istanbul plugin. Otherwise the coverage is not generated, hence the error: `cp: cannot stat 'cypress-coverage/coverage-final.json': No such file or directory`.\n```js\n\t\"plugins\": [\n\t\t[\"istanbul\", {\n\t\t\t\"exclude\": [\n\t\t\t\t\"!**/node_modules/**\",\n\t\t\t\t\"**/test/**\"\n\t\t\t]\n\t\t}, \"some unique name\"]\n\t]\n```\n\n# Steps after you use the template\nOnce you create a repository based on this template, you should do the following steps:\n## `package.json`\n- [ ] change name and displayName\n- [ ] MIT license ok?\n- [ ] keywords, homepage (hero, features)\n\n## MySQL and Knex\n- [ ] rename database\n- [ ] run Prisma migrations with\n```sh\nnpx prisma generate\nnpx prisma migrate dev\n```\n\n## GitHub Actions\n\n## .env files\nTODO: rename command\n\n## Codecov\n- [ ] In README.md replace `jirihofman/nextjs-fullstack-app-template` with `your-username/your-new-repository`\n\nThere is a plan to have this process automated, several options come to mind:\n- GHA workflow that will remove all the template data from repo upon first commit in new repo\n- interactive dialog when starting `npm run dev` for the first time in new repo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirihofman%2Fnextjs-fullstack-app-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjirihofman%2Fnextjs-fullstack-app-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjirihofman%2Fnextjs-fullstack-app-template/lists"}