https://github.com/ilovepixelart/ts-express-tsx
tsx - Express.js example, boilerplate, starter
https://github.com/ilovepixelart/ts-express-tsx
biomejs example express mongoose nodejs npm programming swc ts ts-cache-mongoose ts-migrate-mongoose ts-patch-mongoose typescript vitest
Last synced: 8 months ago
JSON representation
tsx - Express.js example, boilerplate, starter
- Host: GitHub
- URL: https://github.com/ilovepixelart/ts-express-tsx
- Owner: ilovepixelart
- License: mit
- Created: 2023-03-22T21:00:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-28T06:39:11.000Z (8 months ago)
- Last Synced: 2025-04-28T17:17:32.058Z (8 months ago)
- Topics: biomejs, example, express, mongoose, nodejs, npm, programming, swc, ts, ts-cache-mongoose, ts-migrate-mongoose, ts-patch-mongoose, typescript, vitest
- Language: TypeScript
- Homepage:
- Size: 1.4 MB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Express.js + Mongoose + TypeScript 5 + tsx
* [express 5](https://expressjs.com/) - fast, unopinionated, minimalist web framework for node
* [mongoose](https://mongoosejs.com/) - mongodb object modeling
* [ts-migrate-mongoose](https://github.com/ilovepixelart/ts-migrate-mongoose) - mongoose migration framework
* [ts-patch-mongoose](https://github.com/ilovepixelart/ts-migrate-mongoose) - mongoose patch history & events
* [ts-cache-mongoose](https://github.com/ilovepixelart/ts-cache-mongoose) - mongoose cache (in-memory, redis)
* [typescript 5](https://www.typescriptlang.org/)
* [tsx](https://tsx.is/) - for typescript transpilation
* [biome](https://biomejs.dev/) - one toolchain for your web project
* [vitest](https://vitest.dev/) - vitest with mongodb-memory-server for testing
Commands:
```bash
npm i
npm run dev # developer mode
npm run build # build using tsx
npm run start # production mode
npm run biome # lint & format check
npm run biome:fix # lint & format auto fix
npm run test # to run all tests
npm run test:open # to run coverage & open istanbul in the browser
```
You can run it using docker:
```bash
docker compose build
docker compose up
```