create-bootstrap-ts-app
v1.1.0
Published
Bootstrapping TypeScript projects
Maintainers
Readme
Making changes to this project
After making changes Run the following commands yarn build npm version patch npm publish these commands will publish the updated changes to npm Be sure to always commit changes and push them to GitHub
Starting a project with this package
To start a project run this command in a directory where the project will be created and follow the prompts yarn add create-bootstrap-ts-app
Structured Logging
Backend and fullstack scaffolds now ship with @developerzava/structured-logger plus a prebuilt src/logging/logger.ts wrapper. Logs flow through Pino with correlation IDs, pretty console output (disabled in production), and daily rotating files. Wrap request handlers or jobs in withCorrelationId to keep traces coherent. Frontend-only scaffolds remain client-side; add the logger manually if you later introduce an API layer.
Express Middleware Example
import express from "express";
import {
correlationMiddleware,
logger,
LogCategory,
} from "./src/logging/logger";
const app = express();
app.use(correlationMiddleware);
app.get("/health", (_req, res) => {
logger.info({
category: LogCategory.SYSTEM,
action: "HealthCheck",
message: "Health endpoint called",
});
res.sendStatus(200);
});Making initial commits
After bootstrapping the application and initial code changes, do the following
- Go to GitHub and create a new branch
