Reference
Code templates
Reusable starting points I reach for again and again — server setups, configs and components. Copy or download any of them.
Express.js Server
server.jsBasic Express.js server setup with middleware, routes, and error handling
Package.json Template
package.jsonStandard package.json configuration for Node.js projects
React Component Template
Component.tsxTypeScript React component with props interface and modern hooks
Environment Variables
.envTemplate for environment configuration files
Dockerfile Template
DockerfileMulti-stage Dockerfile for Node.js applications
.gitignore Template
.gitignoreComprehensive .gitignore for Node.js and web projects
FastAPI Main Application
main.pyFastAPI application setup with middleware, routers, and error handling