Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
React project scaffold based on TypeScript, Next.js & Bootstrap
Next-Bootstrap-ts is a React project scaffold from idea2app that combines TypeScript, Next.js, Bootstrap, and Workbox into a production-ready template for building web applications with a preconfigured toolchain.
Next-Bootstrap-ts is an open-source GitHub repository template that scaffolds a Next.js application bootstrapped with create-next-app. It takes a new GitHub repository and provides a runnable web app with example pages, API routes, PWA support via Workbox, state management with MobX, and Sentry error monitoring. The template is designed to be deployed on Vercel through built-in GitHub Actions workflows, and it also supports Docker packaging with pnpm pack-image and pnpm container.
According to the README, the project uses TypeScript v6, Next.js v16, Bootstrap v5, Workbox v6, MobX v6, and Koa v3. The development server starts with pnpm dev and serves on http://localhost:3000. Code lives in pages/index.tsx for the homepage, pages/api/ for API routes, and example routes under pages/article, pages/component.tsx, pages/pagination.tsx, and pages/scroll-list.tsx.
pages/api directory is backed by Koa v3, so you can build custom REST endpoints alongside page routes.SENTRY_AUTH_TOKEN, SENTRY_ORG, SENTRY_PROJECT, and NEXT_PUBLIC_SENTRY_DSN configure error tracking.pages/component.tsx to create custom input experiences.First, install pnpm globally with npm i pnpm -g. Then run pnpm dev to launch the development server. Edit pages/index.tsx and the browser auto-updates; API routes are available at http://localhost:3000/api/hello and can be modified in pages/api/hello.ts. The pages/api directory is mapped to /api/* for all server endpoints.
Click the "Use this template" button on the GitHub page, which creates a new repository in your account or organization. The README recommends installing GitHub apps like Probot settings and PR badge in that namespace first.
Yes. The tech stack lists Workbox v6 as the PWA framework, and the scaffold is set up to add service worker functionality. You configure and expand it for offline and install behaviors.
The template uses SENTRY_AUTH_TOKEN (in .env.local) and SENTRY_ORG, SENTRY_PROJECT, NEXT_PUBLIC_SENTRY_DSN (in .env) for uploading source maps and initializing the SDK. These are linked to Sentry's official Next.js setup docs.
Yes. The repository includes a Docker workflow: run pnpm pack-image to build an image and pnpm container to start a container. You can also deploy on the Vercel platform directly from the template.
