ํ๋ก์ ํธ
GitHub์์ ๋ณด๊ธฐ
CodelyTV/typescript-api-skeleton
์๊ฐ
๐ท๐ TypeScript API Skeleton: Bootstrap your new HTTP API backend with TypeScript
๊ฐ๋ฐ ๋๊ตฌWhat you can do
- 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
์ธก์ ๋ ์คํ ์ฆ๊ฐ
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +2
- in 1 month
- ๊ธฐ๋ก ์์ง ์ค
์๋ก ๊ฒน์น๋ ๊ธฐ๊ฐ์ ์์ฆ๊ฐ๋์ด๋ฉฐ ์ผ๋ณ ํฉ๊ณ๊ฐ ์๋๋๋ค. ์ธก์ ๊ฐ์ด ์์ผ๋ฉด ๋น์ ๋ก๋๋ค. ์คํ๋ ๊ด์ฌ๋๋ฅผ ๋ํ๋ด๋ฉฐ ํ์ง์ ๋ณด์ฅํ์ง ์์ต๋๋ค.
README.md
OriginalTypeScript 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
๊ด๋ จ ํ๋ก์ ํธ ์ดํด๋ณด๊ธฐ
๋ถ๋ฌ์ค๋ ์คโฆ