api-client/packages/hoppscotch-backend
Balu Babu 2a715d5348
refactor: refactoring Team-Collections with reordering in self-host (HBE-150) (#34)
* chore: removed firebase module as a dependency from team-collection module

* chore: modified team-collection resolver file to use input-args types

* chore: modified getTeamOfCollection service method and resolver

* chore: modified getParentOfCollection service method in team-collection module

* chore: modified getChildrenOfCollection service method in team-collection module

* chore: added new fields to TeamCollection model in prisma schema file

* chore: modified getCollection service method and resolver in team-collection module

* chore: modified createCollection service method and resolver in team-collection module

* chore: created cast helper function to resolve issue with creation mutation in team-collection

* chore: modified teamCollectionRemoved subscription return types

* chore: removed return types from subscriptions in team-collection module

* chore: removed all instances of getTeamCollections service method in team-collection module

* feat: added mutation to handle moving collections and supporting subscriptions

* feat: added mutation to re-ordering team-collection order

* chore: added teacher comments to both collection modules

* test: added test cases for getTeamOfCollection service method

* test: added test cases for getParentOfCollection service method

* test: added test cases for getChildrenOfCollection service method

* test: added test cases for getTeamRootCollections service method

* test: added test cases for getCollection service method

* test: added test cases for createCollection service method

* chore: renamed renameCollection to renameUserCollection in UserCollection module

* test: added test cases for renameCollection service method

* test: added test cases for deleteCollection service method

* test: added test cases for moveCollection service method

* test: added test cases for updateCollectionOrder service method

* chore: added import and export to JSON mutations to team-collection module

* chore: created replaceCollectionsWithJSON mutation in team-collection module

* chore: moved the mutation and service method of importCollectionFromFirestore to the end of file

* chore: added helper comments to all import,export functions

* chore: exportCollectionsToJSON service method orders collections and requests in ascending order

* chore: added test cases for importCollectionsFromJSON service method

* chore: added ToDo to write test cases for exportCollectionsToJSON

* chore: removed prisma migration folder

* chore: completed all changes requested in inital PR review

* chore: completed all changes requested in second  PR review

* chore: completed all changes requested in third PR review
2023-03-09 19:37:40 +05:30
..
prisma refactor: refactoring Team-Collections with reordering in self-host (HBE-150) (#34) 2023-03-09 19:37:40 +05:30
src refactor: refactoring Team-Collections with reordering in self-host (HBE-150) (#34) 2023-03-09 19:37:40 +05:30
test feat: added hoppscotch-backend as a package 2022-12-05 12:36:11 +05:30
.dockerignore chore: added docker files for bringing the container up 2022-12-06 13:18:02 +05:30
.env.example chore: removed SIGNED_COOKIE_SECRET from cookieParser in main.ts and .env.example files 2023-02-08 14:18:39 +05:30
.eslintrc.js feat: google sso auth added 2023-01-13 00:52:29 +05:30
.gitignore feat: microsoft SSO auth completed 2023-01-19 04:15:43 +05:30
.prettierrc chore: cleaned up hopp-backend package and modified docker and docker-compose files 2022-12-08 22:19:14 +05:30
cross-env refactor: refactoring Team-Collections with reordering in self-host (HBE-150) (#34) 2023-03-09 19:37:40 +05:30
docker-compose.yml chore: updated dockerfile to install deps less 2023-02-08 22:50:37 +05:30
Dockerfile chore: updated dockerfile to install deps less 2023-02-08 22:50:37 +05:30
eslint refactor: refactoring Team-Collections with reordering in self-host (HBE-150) (#34) 2023-03-09 19:37:40 +05:30
global.d.ts feat: added jest and jest-fp-ts setup 2022-12-20 14:41:50 +05:30
jest.setup.js feat: added jest and jest-fp-ts setup 2022-12-20 14:41:50 +05:30
nest-cli.json feat: added hoppscotch-backend as a package 2022-12-05 12:36:11 +05:30
package.json HBE-164 refactor: subscriptions auth cookie fix (#26) 2023-02-27 19:32:33 +05:30
pnpm-lock.yaml HBE-164 refactor: subscriptions auth cookie fix (#26) 2023-02-27 19:32:33 +05:30
README.md feat: added hoppscotch-backend as a package 2022-12-05 12:36:11 +05:30
tsconfig.build.json feat: added hoppscotch-backend as a package 2022-12-05 12:36:11 +05:30
tsconfig.json chore: updated ts config with review changes 2023-01-19 16:25:36 +05:30

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

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

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.