项目
在 GitHub 查看
textbook/starter-kit
关于
Starter kit for full-stack JavaScript projects
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Starter Kit v2
- Full-stack TypeScript
- Node LTS support (verified working on 22.x LTS release)
- Express server
- Postgres database with
pg - Logging with Winston and Morgan
- React client with Vite
- Client-side routing with React Router
- Linting with ESLint and Prettier
- Unit and integration testing with Vitest (with SuperTest and TestContainers)
- E2E testing with Playwright
- Dev mode (watch modes for client and server, proxy to avoid CORS issues)
- Production build (single deployment artifact)
- GitHub Actions pipeline
- Google App Engine, Heroku, Render or Vercel deployment
- Docker build
- Dev Containers integration
Scripts
Various scripts are provided in the package file, but many are helpers for other scripts; here are the ones you'll commonly use:
dev: starts the frontend and backend in dev mode, with file watching (note that the backend runs on port 3100, and the frontend is proxied to it).e2e: builds and starts the app in production mode and runs the Playwright tests against it.e2e:dev: builds and starts the app in dev mode and runs the Playwright tests against it.
lint: runs ESLint and Prettier against all relevant files in the project.format: reformats the code with Prettier.lint:fix: attempts to fix all ESLint and Prettier violations.
serve: builds and starts the app in production mode locally.ship: runslint, thentest, thene2e; ideal before agit push.test: runs the unit and integration tests.test:cover: runs the tests and outputs coverage data.
typecheck: runs TypeScript against all relevant files in the project
探索相关项目
加载中…