项目
在 GitHub 查看
CodelyTV/typescript-api-skeleton
关于
🔷🌍 TypeScript API Skeleton: Bootstrap your new HTTP API backend with TypeScript
网站与应用开发可以做什么
- TypeScript (v4)
- Codely's config (includes ESLint's recommended rules, Prettier, Import plugin and more)
- Jest with DOM Testing Library
- GitHub Action workflows set up to run tests and linting on push
实测星标增长
- 24小时
- 0
- 7天
- +2
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文TypeScript Express API Bootstrap (base / project starter)
This is a repository intended to serve as a starting point if you want to bootstrap a express API project in TypeScript.
Features
- TypeScript (v4)
- ts-node-dev
- Prettier
- ESLint with:
- Codely's config (includes ESLint's recommended rules, Prettier, Import plugin and more)
- Jest plugin
- Jest with DOM Testing Library
- GitHub Action workflows set up to run tests and linting on push
Running the app
# install dependencies
npm install
# run in dev mode on port 3000
npm run dev
# generate production build
npm run build
# run generated content in dist folder on port 3000
npm run start
Testing
Jest with supertest
npm run test
Linting
# run linter
npm run lint
# fix lint issues
npm run lint:fix
探索相关项目
加载中…