:white_check_mark: The Node.js best practices list (September 2021)Project mention: A reflection about scalable project architectures | reddit.com/r/node | 2021-09-30
Regarding structure, check out node best practices, where structuring by component (aka structuring by feature or module) is recommended, so in node.js it's already known that structuring by type not scales well, disregarding of the project size.
🚀 Open source Node.js Headless CMS to easily build customisable APIsProject mention: WordPress as a Web App to pull and display dynamic data from sports API | reddit.com/r/Wordpress | 2021-10-27
Strapi backend consumed by a Cloudflare worker widget, and a static WP site with the CF Widget embedded could work quite well.
The OpenAPI Specification RepositoryProject mention: OpenAPI spec (swagger) v2 vs v3 | dev.to | 2021-08-26
A number of requests were made to expand the subset of JSON Schema that the OpenAPI spec allows to include more complex features of JSON Schema. In the 2.0 spec process, the potential tooling complexities around code generation prompted the exclusion of anyOf and oneOf. However, many users have requested relaxing that constraint, even though it would compromise tooling support for those features. This is one of the great challenges in spec design, and it is never easy when making choices like this to know whether it is better to give people sharp tools that they could cut themselves with, or to rely on experience to say no, the burden of this responsibility is too great. While OpenAPI 2.0 took the more conservative approach, the user base has grown more experienced, so some of the restrictions are being lifted, and users will have to make smart choices.
</> htmx - high power tools for HTMLProject mention: My goodness this is so cool | reddit.com/r/Supabase | 2021-10-27
A simple, declarative, and composable way to fetch data for React components
Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
REST API generator with Node.js, Express and Mongoose (by diegohaz)Project mention: What is the best Express + JWT + Passport Boilerplate that actually works? | reddit.com/r/node | 2021-02-20
I've used this one on a handful of projects: https://github.com/diegohaz/rest
💎 Elegant and simple way to build requests for REST APIProject mention: New and Noteworthy Vue.js Open Source Projects. Part 2 | dev.to | 2021-03-01
GitHub: https://github.com/robsontenorio/vue-api-query GitHub Stars: 1.1k
✅ Master the art of the most powerful testing technique for Node.js: Component tests. Including super-comprehensive best practices list and an example app (August 2021)Project mention: Node.js Integration Best Practices | dev.to | 2021-08-06
:boom: Test REST, GraphQL APIsProject mention: Front End UI Test Automation With Mock API | reddit.com/r/csharp | 2021-05-18
To test the API, I recommend a proper API testing framework that can run a full test suite without you having to write a single test case. In this area, I recommend Dredd and schemathesis. These frameworks will get you covered when it comes to ensuring that the API server complies with the API specification. You may find Dredd a bit confusing at the beginning, in which case I recommend a tutorial I wrote a while ago about testing with Dredd. In addition, you can consider using just-apis, which allows you to define your own test cases for the API in YAML files (so no programming required).
API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.Project mention: How to measure the number of requests a node.js application is receiving per second? | reddit.com/r/node | 2021-06-05
Take a look at swagger-stats: https://github.com/slanatech/swagger-stats
REST API Client LibraryProject mention: Purest | dev.to | 2021-02-08
Using the above configuration and the default aliases defined in Purest we can refresh the access token like this:
VueJS + NodeJS Evergreen Cookbook
I reached out to my instructor again for advice on how I might be able to make my web app, well, an actual web app. She returned with this amazing template which allows developers to deploy the fake REST API JSON-server (which I was already using locally) to Heroku.
A beautiful and fully-featured administration interface builder for hypermedia APIs (by api-platform)Project mention: FastAPI framework, high perf, easy to learn, fast to code, ready for production | news.ycombinator.com | 2021-02-01
I think the idea is that FastAPI does one thing and does it well. You can mix in other parts of what you need, in the same way FastAPI itself leans on great projects.
SQLAlchemy + Alembic are standard because they're robust and well-know, but there are alternatives (particularly with async)
For admin you can FE it with something like react-admin which has pluggable data providers, or api-admin
APIs REST simulando loja virtual para servir de estudo de testes de API de forma manual ou automatizadaProject mention: Resolvendo variáveis de ambiente em testes automatizados com dotenv | dev.to | 2021-07-02
Link do Repo: https://github.com/ServeRest/ServeRest
Examples of Mock Service Worker usage with various frameworks and libraries. (by mswjs)Project mention: How we use Apollo to manage GraphQL data in our React Typescript application | reddit.com/r/reactjs | 2021-04-27
Did you evaluate mock-service-worker? It's a good solution to mocking API requests. When it executes in the browser it uses a service worker to intercept requests, and when it executes in node (e.g. unit tests) it patches the http.Request methods to effectively do the same. Here's an example for mocking Apollo: https://github.com/mswjs/examples/tree/master/examples/graphql-react-apollo
REST interface to control your iRobot Roomba 980 via local server on your lan.Project mention: How to voltage test iRobot lithium batteries? | reddit.com/r/roomba | 2021-08-16
On all internet connected robots (600, 800, 900, e5, i7/i7+, and S9 / S9+) you can use the Dorita980 or Rest980 SDKs to pull the robot's state, which includes all of the battery information (voltage, cycles, status, authenticity, etc.)
Create flexible REST endpoints and controllers from Sequelize models in your Express app
:dash: Simple yet powerful file-based mock server with recording abilities
Some companies provide an external module like GitHub's plugin-throttling package for their node clients. But often it's up to you to implement.
Are you hiring? Post a new remote job listing for free.