Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 704 Bytes

NOTES.md

File metadata and controls

30 lines (20 loc) · 704 Bytes
  1. Initalise the project

    • yarn init
  2. Initalise TypeScript

    • npx typescript --init
  3. Install dev dependencies

    • yarn add typescript ts-node-dev @types/bcrypt @types/jsonwebtoken @types/cookie-parser @types/config -D
  4. Install dependencies

    • yarn add type-graphql apollo-server [email protected] reflect-metadata @typegoose/typegoose mongoose class-validator bcrypt jsonwebtoken cookie-parser nanoid config dotenv
  5. Update tsconfig to include:

{
  "target": "es2018",
  "module": "commonjs",
  "lib": ["es2018", "esnext.asynciterable"],
  "experimentalDecorators": true,
  "emitDecoratorMetadata": true,
  "strictPropertyInitialization": false
}

Search course with tests