A typescript-based backend featuring :
- NestJS framework to handle architecture, with Fastify
- TypeORM to handle Database requests
- GraphQL to handle centralized and typed requests from frontend
- Unit tests with Jest
- ParcelJS to handle bundling and HMR, alongwith typescript auto-type-checking
- Manually create a database (without any table)
- Add your database credentials in
settings.ts - For each table, prepare its corresponding
XXXX.entity.tsschema, where XXXX is the table name.
yarnI strongly suggest using 4 terminals
yarn start // will start hot-reloading Parcel bundleryarn type-check // will start Typescript watcheryarn test // will start unit tests watcher... and the last one in your IDE for usual commands, etc...