-
Notifications
You must be signed in to change notification settings - Fork 10
feat: Starter Kit v3 for 2026 #501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
aura |

TODOs:
Starter Kit
A technical kit to quickly build new products from
Open Government Products, Singapore.
Features
Project structure
Working on your product
You may work on the codebase with:
Using GitHub Codespaces
Follow the official GitHub guide
for developing with a codespace.
Using your local developer environment
In summary:
Running the app locally
1. Setup dependencies
Optionally set
POSTMAN_API_KEYto send login OTP emails via Postman.If not set, OTP emails will be logged to the console instead.
Retrieving client-side environment variables in code
NEXT_PUBLIC_to ensure that the variable is exposed to the browser. For example, if you want to add a variable calledMY_ENV_VAR, you should add it to your.envfile asNEXT_PUBLIC_MY_ENV_VAR.You will also need to update the various environment files (like apps/web/src/env.ts or packages/db/src/env.ts) to explicitly reference the variable so NextJS will correctly bundle the environment variable into the client-side bundle.
2. Adding a new package
To add a new package, simply run
pnpm turbo gen initin the monorepo root. This will prompt you for a package name as well as if you want to install any dependencies to the new package (of course you can also do this yourself later).The generator sets up the
package.json,tsconfig.jsonand aindex.ts, as well as configures all the necessary configurations for tooling around your package such as formatting, linting and typechecking. When the package is created, you're ready to go build out the package.Deployment
Follow these instructions if you are familiar with building applications,
and/or are in a hurry to prepare an environment to work on your product.
If you are new, see our Getting Started guide.
If you are exploring what else you can do with Starter Kit,
a more comprehensive set of documentation, including guides
and tutorials, can be found here.
Deploy to Vercel
Let's deploy the Next.js application to Vercel. If you've never deployed a Turborepo app there, don't worry, the steps are quite straightforward. You can also read the official Turborepo guide on deploying to Vercel.
Create a new project on Vercel, select the
apps/webfolder as the root directory. Vercel's zero-config system should handle all configurations for you.Add the prerequisite environment variables outlined in the Prerequisites section.
Done! Your app should successfully deploy.
Prerequisites
The deployment needs a few environment variables to be set for it to function. They are:
DATABASE_URLPOSTMAN_API_KEYSESSION_SECRETnpx uuidfrom your terminal