Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 912 Bytes

README.md

File metadata and controls

52 lines (36 loc) · 912 Bytes

Nest Logo

Description

This is an example of how to implement file upload on nestjs with GraphQL

Notes

This is built with apollo express 2 since apollo 3 currently isn't compatible with current newest nestjs/grapqhl (^8.x)

Upcoming

  • Multiple Files Upload
  • File validation
  • Cloud integration to save files

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Example

Example on how testing this on postman: Nest Logo