nodejs-integration-test-practices-and-examples
currency-api
nodejs-integration-test-practices-and-examples | currency-api | |
---|---|---|
1 | 5 | |
1,296 | 19 | |
- | - | |
9.9 | 4.6 | |
over 2 years ago | about 1 month ago | |
JavaScript | JavaScript | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nodejs-integration-test-practices-and-examples
currency-api
-
Docker build example: how to go from slow to fast docker builds
Letβs look at the docker below, this innocent-looking docker file is taken from a Node Js API. It has one major issue we will uncover as we proceed:
-
Create small pull requests by using enabler code last
Once the above small pull request is merged and deployed you can start work on the enabler cement code. This cement code wires up the above code to a user action like viewing the rates. It will be possible with a route that will invoke the above getByToCurrency method. You can see how we exposed the code as a new route in this small pull request. You can see the main code below:
What are some alternatives?
pactum - REST API Testing Tool for all levels in a Test Pyramid
nodejs-integration-tests-best-practices - β Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (March 2024)
javascript-testing-best-practices - ππ π’ Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023)
nodebestpractices - :white_check_mark: The Node.js best practices list (February 2024)
Stackoverflow-Clone-Frontend - Clone project of a famous Q/A website for developers built using MySQL, Express, React, Node, Sequelize :globe_with_meridians:
mocha - βοΈ simple, flexible, fun javascript test framework for node.js & the browser
fastify-jwt - JWT utils for Fastify
express-to-fastify-migration - Example applications demonstrating a migration from Express to Fastify.
fastify-boilerplate - Boilerplate of fastify framework with MongoDB and REST API services