examples
axios-interceptor
Our great sponsors
examples | axios-interceptor | |
---|---|---|
2 | 1 | |
636 | 0 | |
3.0% | - | |
6.7 | 4.1 | |
11 days ago | about 2 years ago | |
JavaScript | JavaScript | |
- | MIT License |
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.
examples
-
How we use Apollo to manage GraphQL data in our React Typescript application
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
-
Beginners Thread Easy Questions February 2021
I use https://mswjs.io/, here is also an example project that can become handy: https://github.com/mswjs/examples/tree/master/examples/graphql-react-apollo . Reading this article could also help: https://kentcdodds.com/blog/stop-mocking-fetch
axios-interceptor
What are some alternatives?
open-api-mocker - A mock server based in OpenAPI Specification
reusable - Simplest way to manage global state in React
testing-nestjs - 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!
News - A real-time news web application made using ReactJS
puppeteer-request-mocker - Request mocker for puppeteer
PokePalette - This React app lets you input the name of a Pokemon and instantly produces a color palette with its 3 main colors. To be used as web design inspiration.
contentful-graphql-vs-rest - A look at the difference between how to fetch and render linked assets and entries in the Rich Text field in Contentful.
fetch-intercept - Interceptor library for the native fetch command inspired by angular http intercepts.
anvil-e-signature-api-node-example - An example app used to showcase Anvil Etch E-Signature API using the node-anvil client.
axios-module - Secure and easy axios integration for Nuxt 2
Strapi - 🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable and developer-first.
azure-pipelines-monorepo - Example of a multi-pipeline monorepo with Azure Pipelines