Next steps:
-
Finish templating if this was skipped earlier:
pnpm exec skuba configure
-
Create a new repository in the appropriate GitHub organisation.
-
Add the repository to BuildAgency; see our internal Buildkite Docs for more information.
-
Push local commits to the upstream GitHub branch.
-
Configure GitHub repository settings.
-
Delete this checklist 😌.
The greeter
template is the prototypical hello world project.
It can function as a playground for the TypeScript tooling prescribed by our Technical Guidelines,
or serve as a starting point for a backend project if the other built-in templates are not a good fit.
It's a barebones Node.js application that comprises:
- A src/app.ts that can be run locally to greet the user
- A src/app.test.ts that demonstrates rudimentary Jest usage
pnpm test
# Fix issues
pnpm format
# Check for issues
pnpm lint
# Start a live-reloading process
pnpm start
# Start with Node.js Inspector enabled
pnpm start:debug
This runs a live-reloading Node.js process pointing to the src/app.ts entrypoint.
The greeter
template includes a simple Buildkite pipeline for testing and linting.
It does not assume a deployment method or environment.
For inspiration in this space, check out:
- The
koa-rest-api
template for containerised deployments - The
lambda-sqs-worker
template for Lambda deployments
TODO: add support links for the dev environment.
TODO: add support links for the prod environment.