Skip to content
 
 

Repository files navigation

graphql-nestjs-Typescript-typeorm

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

Installation

Setting up

  1. Manually create a database (without any table)
  2. Add your database credentials in settings.ts
  3. For each table, prepare its corresponding XXXX.entity.ts schema, where XXXX is the table name.

Installing

yarn

Usage

I strongly suggest using 4 terminals

yarn start // will start hot-reloading Parcel bundler
yarn type-check // will start Typescript watcher
yarn test // will start unit tests watcher

... and the last one in your IDE for usual commands, etc...

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages