Skip to Content
Tech Stack

Source: Jolli-sample-repos/url-shortener  Last Updated: 4/8/2026


Tech Stack

Technologies and packages powering the URL shortener.

Core Dependencies

Runtime packages required for the application.

PackageVersionPurpose
Express4.18.2Web framework, routing
TypeScript5.3.3Type safety, compiled to ES2020
nanoid3.3.76-char URL-safe IDs (62^6 combinations)
Zod3.22.4Runtime schema validation
CORS2.8.5Cross-origin requests

Dev Tools

npm scripts for development workflow.

// package.json scripts { "dev": "nodemon src/index.ts", // Auto-reload with ts-node "build": "tsc", // Compile to dist/ "start": "node dist/index.js" // Run compiled }

OpenAPI

API documentation generation from code annotations.

// swagger.ts - JSDoc annotations in routes.ts generate spec /** * @openapi * /api/v1/urls: * post: * summary: Create short URL */

Served leveraging Docusaurus OpenAPI Docs