-
Notifications
You must be signed in to change notification settings - Fork 0
Home
- Project
-
Standard :
nest new
{service}
-p
(npm,pnpm,yarn)
-l
(JavaScript, TypeScript)
-g
-
Monorepo :
nest new
{service}
-p
(npm,pnpm,yarn)
-l
(JavaScript, TypeScript)
-g
&&
cd
{service}
&& nest generate app
{sub_service}
- Convention
curl -sL https://raw.githubusercontent.com/tripteki/convention/1.0.0/bin/apply | sh
https://www.npmjs.com/package/@tripteki/eslint-config
https://www.npmjs.com/package/@tripteki/prettier-config
Performance
- Framework
- Scale
- Event-Listener (Sync → Async, Queue)
ServerSentEvent (1 way (online))
PushNotification (1 way (offline))
WebSocket/SocketIO (2 ways (text))
WebRTC (2 ways (binary))
- Monolith → Micro Services
Security
Usable
(Mandatory)
- Version
- RESTful API Pagination, GraphQL
- Validation
- Ratelimit
- Authentication (Auth, OAuth, SSO)
- Authorization
(Optional)
- Documentation
https://docs.nestjs.com/recipes/documentation
https://docs.nestjs.com/openapi/introduction
- Configuration
https://docs.nestjs.com/techniques/configuration
- Cache
https://docs.nestjs.com/techniques/caching
- Database
https://docs.nestjs.com/techniques/database
https://docs.nestjs.com/recipes/prisma
https://docs.nestjs.com/recipes/sql-typeorm
https://docs.nestjs.com/recipes/mongodb
- Locale
https://www.npmjs.com/package/nestjs-i18n
- Log
https://docs.nestjs.com/techniques/logger
- Monitor
https://docs.nestjs.com/recipes/terminus
nest g resource
{service/sub_service}
Lint
npm run lint
Test
npm run test
Serve
npm run build && npm run start