├── .gitignore ├── .nestcli.json ├── .prettierrc ├── README.md ├── index.html ├── nodemon-debug.json ├── nodemon.json ├── ormconfig.js ├── package.json ├── project.md ├── sample.env ├── src ├── api.module.ts ├── app.controller.ts ├── app.gateway.ts ├── app.module.ts ├── comment │ ├── comment.controller.ts │ ├── comment.dto.ts │ ├── comment.entity.ts │ ├── comment.graphql │ ├── comment.module.ts │ ├── comment.resolver.ts │ └── comment.service.ts ├── idea │ ├── idea.controller.ts │ ├── idea.dto.ts │ ├── idea.entity.ts │ ├── idea.graphql │ ├── idea.module.ts │ ├── idea.resolver.ts │ └── idea.service.ts ├── main.ts ├── shared │ ├── auth.gaurd.ts │ ├── date.scalar.ts │ ├── http-error.filter.ts │ ├── logging.interceptor.ts │ ├── shared.graphql │ ├── validation.pipe.ts │ └── votes.enum.ts └── user │ ├── user.controller.ts │ ├── user.decorator.ts │ ├── user.dto.ts │ ├── user.entity.ts │ ├── user.graphql │ ├── user.module.ts │ ├── user.resolver.ts │ └── user.service.ts ├── tsconfig.json ├── tsconfig.spec.json ├── tslint.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.nestcli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/.nestcli.json -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/README.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/index.html -------------------------------------------------------------------------------- /nodemon-debug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/nodemon-debug.json -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/nodemon.json -------------------------------------------------------------------------------- /ormconfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/ormconfig.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/package.json -------------------------------------------------------------------------------- /project.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/project.md -------------------------------------------------------------------------------- /sample.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/sample.env -------------------------------------------------------------------------------- /src/api.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/api.module.ts -------------------------------------------------------------------------------- /src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/app.controller.ts -------------------------------------------------------------------------------- /src/app.gateway.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/app.gateway.ts -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/comment/comment.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/comment/comment.controller.ts -------------------------------------------------------------------------------- /src/comment/comment.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/comment/comment.dto.ts -------------------------------------------------------------------------------- /src/comment/comment.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/comment/comment.entity.ts -------------------------------------------------------------------------------- /src/comment/comment.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/comment/comment.graphql -------------------------------------------------------------------------------- /src/comment/comment.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/comment/comment.module.ts -------------------------------------------------------------------------------- /src/comment/comment.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/comment/comment.resolver.ts -------------------------------------------------------------------------------- /src/comment/comment.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/comment/comment.service.ts -------------------------------------------------------------------------------- /src/idea/idea.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/idea/idea.controller.ts -------------------------------------------------------------------------------- /src/idea/idea.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/idea/idea.dto.ts -------------------------------------------------------------------------------- /src/idea/idea.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/idea/idea.entity.ts -------------------------------------------------------------------------------- /src/idea/idea.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/idea/idea.graphql -------------------------------------------------------------------------------- /src/idea/idea.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/idea/idea.module.ts -------------------------------------------------------------------------------- /src/idea/idea.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/idea/idea.resolver.ts -------------------------------------------------------------------------------- /src/idea/idea.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/idea/idea.service.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/shared/auth.gaurd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/shared/auth.gaurd.ts -------------------------------------------------------------------------------- /src/shared/date.scalar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/shared/date.scalar.ts -------------------------------------------------------------------------------- /src/shared/http-error.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/shared/http-error.filter.ts -------------------------------------------------------------------------------- /src/shared/logging.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/shared/logging.interceptor.ts -------------------------------------------------------------------------------- /src/shared/shared.graphql: -------------------------------------------------------------------------------- 1 | scalar Date 2 | -------------------------------------------------------------------------------- /src/shared/validation.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/shared/validation.pipe.ts -------------------------------------------------------------------------------- /src/shared/votes.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/shared/votes.enum.ts -------------------------------------------------------------------------------- /src/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/user/user.controller.ts -------------------------------------------------------------------------------- /src/user/user.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/user/user.decorator.ts -------------------------------------------------------------------------------- /src/user/user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/user/user.dto.ts -------------------------------------------------------------------------------- /src/user/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/user/user.entity.ts -------------------------------------------------------------------------------- /src/user/user.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/user/user.graphql -------------------------------------------------------------------------------- /src/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/user/user.module.ts -------------------------------------------------------------------------------- /src/user/user.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/user/user.resolver.ts -------------------------------------------------------------------------------- /src/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/src/user/user.service.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/tsconfig.spec.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelvin-mai/nest-ideas-api/HEAD/yarn.lock --------------------------------------------------------------------------------