{"id":21291901,"url":"https://github.com/idea2app/next-bootstrap-ts","last_synced_at":"2025-07-11T16:31:04.145Z","repository":{"id":45261760,"uuid":"399482400","full_name":"idea2app/Next-Bootstrap-ts","owner":"idea2app","description":"React project scaffold based on TypeScript, Next.js \u0026 Bootstrap","archived":false,"fork":false,"pushed_at":"2024-08-03T11:43:20.000Z","size":857,"stargazers_count":10,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-03T12:47:37.388Z","etag":null,"topics":["bootstrap","nextjs","scaffold","template","typescript"],"latest_commit_sha":null,"homepage":"https://next-bootstrap-ts.vercel.app/","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/idea2app.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":"2021-08-24T13:48:58.000Z","updated_at":"2024-08-03T11:43:24.000Z","dependencies_parsed_at":"2023-02-17T23:45:44.525Z","dependency_job_id":"0aa43c06-3226-4938-bb13-7f0a20484285","html_url":"https://github.com/idea2app/Next-Bootstrap-ts","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/idea2app%2FNext-Bootstrap-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FNext-Bootstrap-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FNext-Bootstrap-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idea2app%2FNext-Bootstrap-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idea2app","download_url":"https://codeload.github.com/idea2app/Next-Bootstrap-ts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225741249,"owners_count":17516895,"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":["bootstrap","nextjs","scaffold","template","typescript"],"created_at":"2024-11-21T13:46:40.436Z","updated_at":"2025-07-11T16:31:04.139Z","avatar_url":"https://github.com/idea2app.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next-Bootstrap-ts\n\n[React][1] project scaffold based on [TypeScript][2], [Next.js][3], [Bootstrap][4] \u0026 [Workbox][5]. And this project bootstrapped with [`create-next-app`][6].\n\n[![CI \u0026 CD](https://github.com/idea2app/Next-Bootstrap-ts/actions/workflows/main.yml/badge.svg)][7]\n\n[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)][8]\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)][9]\n\n## Technology stack\n\n- Language: [TypeScript v5][2] + [MDX v3][10]\n- Component engine: [Next.js v15][3]\n- Component suite: [Bootstrap v5][4]\n- PWA framework: [Workbox v6][5]\n- State management: [MobX v6][11]\n- API router: [Koa 2][12]\n- CI / CD: GitHub [Actions][13] + [Vercel][14]\n- Monitor service: [Sentry][15]\n\n## Major examples\n\n1. [Markdown articles](pages/article/)\n2. [Editor components](pages/component.tsx)\n3. [Pagination table](pages/pagination.tsx)\n4. [Scroll list](pages/scroll-list.tsx)\n5. [Not Found page (NGO)](pages/_error.tsx)\n   - Global: https://notfound.org/\n   - Chinese: https://www.dnpw.org/cn/pa-notfound.html\n\n## Best practice\n\n1.  Install GitHub apps in your organization or account:\n\n    1.  [Probot settings][16]: set up Issue labels \u0026 Pull Request rules\n    2.  [PR badge][17]: set up Online [VS Code][18] editor entries in Pull Request description\n\n2.  Click the **[\u003ckbd\u003eUse this template\u003c/kbd\u003e][19] button** on the top of this GitHub repository's home page, then create your own repository in the app-installed namespace above\n\n3.  Click the **[\u003ckbd\u003eOpen in GitHub codespaces\u003c/kbd\u003e][8] button** on the top of ReadMe file, then an **online VS Code development environment** will be started immediately\n\n4.  Set [Vercel variables][20] as [Repository secrets][21], then every commit will get an independent **Preview URL**\n\n5.  Recommend to add a [Notification step in GitHub actions][22] for your Team IM app\n\n6.  Remind the PMs \u0026 users of your product to submit **Feature/Enhancement** requests or **Bug** reports with [Issue forms][23] instead of IM messages or Mobile Phone calls\n\n7.  Collect all these issues into [Project kanbans][24], then create **Pull requests** \u0026 add `closes #issue_number` into its description for automation\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm i pnpm -g\npnpm dev\n```\n\nOpen http://localhost:3000 with your browser to see the result.\n\nYou can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.\n\n[API routes][25] can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in `pages/api/hello.ts`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as API routes instead of React pages.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation][26] - learn about Next.js features and API.\n- [Learn Next.js][27] - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository][28] - your feedback and contributions are welcome!\n\n## Deployment\n\n### Environment variables\n\n|           name           |     file     |       description       |\n| :----------------------: | :----------: | :---------------------: |\n|   `SENTRY_AUTH_TOKEN`    | `.env.local` | [Official document][29] |\n|       `SENTRY_ORG`       |    `.env`    | [Official document][30] |\n|     `SENTRY_PROJECT`     |    `.env`    | [Official document][30] |\n| `NEXT_PUBLIC_SENTRY_DSN` |    `.env`    | [Official document][31] |\n\n### Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform][14] from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation][32] for more details.\n\n### Docker\n\n```shell\npnpm pack-image\npnpm container\n```\n\n[1]: https://react.dev/\n[2]: https://www.typescriptlang.org/\n[3]: https://nextjs.org/\n[4]: https://getbootstrap.com/\n[5]: https://developers.google.com/web/tools/workbox\n[6]: https://github.com/vercel/next.js/tree/canary/packages/create-next-app\n[7]: https://github.com/idea2app/Next-Bootstrap-ts/actions/workflows/main.yml\n[8]: https://codespaces.new/idea2app/Next-Bootstrap-ts\n[9]: https://gitpod.io/?autostart=true#https://github.com/idea2app/Next-Bootstrap-ts\n[10]: https://mdxjs.com/\n[11]: https://mobx.js.org/\n[12]: https://koajs.com/\n[13]: https://github.com/features/actions\n[14]: https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme\n[15]: https://sentry.io/\n[16]: https://github.com/apps/settings\n[17]: https://pullrequestbadge.com/\n[18]: https://code.visualstudio.com/\n[19]: https://github.com/new?template_name=Next-Bootstrap-ts\u0026template_owner=idea2app\n[20]: https://github.com/idea2app/Next-Bootstrap-ts/blob/80967ed49045af9dbcf4d3695a2c39d53a6f71f1/.github/workflows/pull-request.yml#L9-L11\n[21]: https://github.com/idea2app/Next-Bootstrap-ts/settings/secrets/actions\n[22]: https://github.com/FreeCodeCamp-Chengdu/FreeCodeCamp-Chengdu.github.io/blob/8df9944449002758f7ec809deeb260ce08182259/.github/workflows/main.yml#L34-L63\n[23]: https://github.com/idea2app/Next-Bootstrap-ts/issues/new/choose\n[24]: https://github.com/idea2app/Next-Bootstrap-ts/projects\n[25]: https://nextjs.org/docs/api-routes/introduction\n[26]: https://nextjs.org/docs\n[27]: https://nextjs.org/learn\n[28]: https://github.com/vercel/next.js/\n[29]: https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-configuration-files-for-source-map-upload\n[30]: https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#use-environment-variables\n[31]: https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#create-initialization-config-files\n[32]: https://nextjs.org/docs/deployment\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidea2app%2Fnext-bootstrap-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidea2app%2Fnext-bootstrap-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidea2app%2Fnext-bootstrap-ts/lists"}