express-ts-clean-arch
v0.1.0
Published
Express + TypeScript starter with Clean Architecture (ready for npm publish).
Maintainers
Readme
express-ts-clean-arch
Express + TypeScript starter following Clean Architecture principles.
What you get
- TypeScript + Express
- Clean architecture folders (controllers, use-cases, repositories, entities, infra)
- Build configured (
tsc) - Scripts ready for npm publishing (
prepare/prepublishOnly) - ESLint & Prettier config
- Small example route and unit test with Vitest
How to use
npm install(orpnpm/yarn)npm run devto start development server.npm run buildto producelib/for publishing.npm publish(make surepackage.jsonnameis unique and you are logged in).
Exports
This package exports a createApp() function and an already-configured server (server.ts) — useful if you want to use it as middleware or as a standalone server.
