Async TS API Scaffold is a clean and minimal TypeScript backend starter built with Node.js. It provides a structured foundation that helps developers quickly bootstrap APIs with best practices, modular architecture, and built-in tooling for development and testing.
- Written in TypeScript for modern type-safe backend development
- Clean and extensible project structure
- Ready for REST API and async workflows
- Includes configuration, source, and tests
- Docker support for easy local setup
- ESLint + Prettier for consistent code style
- Simple scripts to aid development and workflows
The repository includes well-organized folders:
├─ config/ # Configuration files per environment
├─ docs/ # Documentation and usage guides
├─ src/ # Backend source code
├─ test/ # Automated tests
├─ .eslintrc # Linting config
├─ tsconfig.json # TypeScript configuration
├─ package.json # Project dependencies & scripts
Clone the project and install dependencies:
git clone https://github.com/OmO-sketch/async-ts-api-scaffold
cd async-ts-api-scaffold
npm installStart the API in development mode:
npm run devThe server will automatically reload on file changes.
Run automated tests:
npm testBuild and start the server using Docker:
docker build -t async-ts-api-scaffold .
docker run -p 3000:3000 async-ts-api-scaffold- Explore the existing configuration and folders
- Customize
src/with your own routes and business logic - Add new API handlers under
src/ - Update tests and docs as your app grows