Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Vue Express Mongo Boilerplate | 2,785 | 1 | 2 years ago | 1 | January 30, 2017 | 84 | JavaScript | |||
:star: MEVN Full stack JS web app boilerplate with NodeJS, Express, Mongo and VueJS | ||||||||||
Testing Nestjs | 2,284 | 19 days ago | 22 | mit | TypeScript | |||||
A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more! | ||||||||||
Mongo Graphql Starter | 422 | 7 | 5 | 7 months ago | 122 | August 31, 2022 | 14 | mit | JavaScript | |
Creates a fully functioning, performant, extensible GraphQL endpoint from a Mongo DB. Supports middleware, Mongo 4 transactions. | ||||||||||
Vuexpresso | 388 | 2 years ago | 14 | JavaScript | ||||||
:crystal_ball: VueJS + Express + GraphQL Boilerplate | ||||||||||
Vulcan Next | 361 | 4 months ago | 69 | mit | TypeScript | |||||
The Next starter for GraphQL developers | ||||||||||
Create Graphql Server | 315 | 5 years ago | 19 | mit | JavaScript | |||||
Generate your GraphQL server one type at a time | ||||||||||
Fullstack Apollo Express Mongodb Boilerplate | 266 | 3 years ago | 26 | mit | JavaScript | |||||
💥A sophisticated GraphQL with Apollo, Express and MongoDB boilerplate project. | ||||||||||
Graphene Mongo | 263 | 11 | 2 | 8 days ago | 33 | January 14, 2022 | 26 | mit | Python | |
Graphene MongoEngine integration | ||||||||||
Api Design Node V2 | 232 | 4 years ago | 34 | JavaScript | ||||||
[Course] API Design in Node.js, v2: REST & GraphQL code | ||||||||||
Nest User Auth | 221 | a year ago | 8 | mit | TypeScript | |||||
A starter build for a back end which implements managing users with MongoDB, Mongoose, NestJS, Passport-JWT, and GraphQL. |
A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more!
Each folder is a fully functional Nest application on its own. All you need to do after cloning the repository is move into the folder, install the dependencies, and test! Or you could just, you know, look at the test on GitHub too, no big deal.
I've noticed a lot of people seem to get stuck on testing, and how to do it using the utilities given to us by Nest. Hopefully with a community driven repository of tests it will help others get a better understanding and feel for how to get tests running.
This is not necessarily the Nest canonical way to test an application, nor is it the only way in any scenario. I will do my best to show different ways to run tests, but I will more than likely miss certain ways of running the tests, whether it is mocking in a specific way or otherwise. Again, this is a community maintained project and not a part of the official documentation. If you find other ways to test applications, great, I'd love to see them, but please do not think this is the only way.
git clone https://github.com/jmcdo29/testing-nestjs.git
cd testing-nestjs/<folderName>
npm install
OR yarn add
npm run test
OR yarn test
Did I miss your favorite topic? Did I miss out on something you absolutely need tested? Well then open an issue, or better yet, a pull request! I'll be happy to look over any topics and try to help figure out how to test them or to merge any PRs that add to the value of the repository. If you do end up making a pull request, please add a screenshot of the test coverage so others can see how well the tests run. The complex-sample branch has a good example.
The change log can be found on the Releases page.
Jay McDoniel and contributors. Thanks to everyone who's helping with this effort!
MIT License, see the included License.md file.