All Projects → xoredg → apollo-link-logger

xoredg / apollo-link-logger

Licence: MIT license
A logger for Apollo Link that resembles redux-logger

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to apollo-link-logger

laika
Log, test, intercept and modify Apollo Client's operations
Stars: ✭ 99 (-38.51%)
Mutual labels:  apollo-client, apollo-link
ctrip-apollo-client
This is a client library for Apollo(A reliable configuration management system) written in Node.js.
Stars: ✭ 49 (-69.57%)
Mutual labels:  apollo-client
gitstar
Github Client built with React Apollo
Stars: ✭ 15 (-90.68%)
Mutual labels:  apollo-client
apollo-link-fragment-argument
An Apollo Link to enable to parameterize fragments
Stars: ✭ 35 (-78.26%)
Mutual labels:  apollo-link
agollo
🚀Go client for ctrip/apollo (https://github.com/apolloconfig/apollo)
Stars: ✭ 563 (+249.69%)
Mutual labels:  apollo-client
react-graphql
react-graphql 快速开发方案
Stars: ✭ 15 (-90.68%)
Mutual labels:  apollo-client
graphql-codegen-apollo-next-ssr
Autogenerate apollo code for nextjs ssr
Stars: ✭ 176 (+9.32%)
Mutual labels:  apollo-client
realworld
"The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by Next.js and Ruby on Rails 🏅
Stars: ✭ 113 (-29.81%)
Mutual labels:  apollo-client
apollo-resolvers
Expressive and composable resolvers for Apollostack's GraphQL server
Stars: ✭ 434 (+169.57%)
Mutual labels:  apollo-client
Gatsby-Starter-Typescript-Apollo-Storybook
Starter with the bare essentials needed for a typescript, apollo, storybook, emotion Gatsby site
Stars: ✭ 17 (-89.44%)
Mutual labels:  apollo-client
talktalk-rn
(Deprecated via hackatalk-mobile) talktalk app built in react-native.
Stars: ✭ 31 (-80.75%)
Mutual labels:  apollo-client
GraphQL-Client-Exploration
Simple exploration of GraphQL Clients
Stars: ✭ 18 (-88.82%)
Mutual labels:  apollo-client
github-react-native-apollo-graphql
📱 A GitHub mobile app built with React-Native and Apollo GraphQL
Stars: ✭ 24 (-85.09%)
Mutual labels:  apollo-client
GithubClient
Github iOS Client based on Github REST V3 API and GraphQL V4 API
Stars: ✭ 42 (-73.91%)
Mutual labels:  apollo-client
graphql-workshop
⚒ 🚧 A GraphQL workshop to learn GraphQL implementations
Stars: ✭ 20 (-87.58%)
Mutual labels:  apollo-client
GraphQL-Android
A project for showing use of apollo-android for consuming github graphQL API
Stars: ✭ 51 (-68.32%)
Mutual labels:  apollo-client
ReactNativeApolloOnlineStore
A react native online shop using Apollo client 3
Stars: ✭ 60 (-62.73%)
Mutual labels:  apollo-client
cash-flow
Application for managing cash flows written in ASP.NET Core 6 and Angular 13 (EF Core, Apollo, GraphQL, CQRS)
Stars: ✭ 27 (-83.23%)
Mutual labels:  apollo-client
react-apollo-graphql
Get rid of decorators and use Apollo GraphQL queries and mutations in the simple and readable way.
Stars: ✭ 16 (-90.06%)
Mutual labels:  apollo-client
mobile
🤳 React Native code examples for JavaScript Everywhere by Adam Scott, published by O'Reilly Media
Stars: ✭ 33 (-79.5%)
Mutual labels:  apollo-client

apollo-link-logger

A logger for Apollo Link that resembles redux-logger

Semantically Released Build Status Code Coverage version downloads Styled with Prettier AirBnB style guide

MIT License All Contributors PRs Welcome Commitizen friendly Code of Conduct

Watch on GitHub Star on GitHub Tweet

Logger for Apollo Link that uses a similar format to redux-logger. Includes performance information.

Installing / Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

A quick introduction of the minimal setup you need to get a hello world up & running.

npm install apollo-link-logger

Prerequisites

  • Apollo Link.

Usage

import apolloLogger from 'apollo-link-logger';

// ...
ApolloLink.from([
  apolloLogger,
  // ...
]);

Screenshots

Query (expanded):

Query Expanded

Mutation (expanded):

Mutation Expanded

Within other logging statements:

Full

Usage with React Native and other restricted environments

We include a polyfilled version of console.groupCollapsed and console.groupEnd that invokes console.log with slightly different prefix to separate output.

Developing

Setting up Dev

Here's a brief intro about what a developer must do in order to start developing the project further:

git clone https://github.com/blackxored/apollo-link-logger
cd apollo-link-logger
yarn

Versioning

We use SemVer for versioning. In addition, it's automatic via semantic-release, and our commit convention.

For the versions available, see the Releases on this repository.

Style guide

We base our code style on AirBnB's style guide and we check with ESLint and automatically format our code with Prettier.

License

This project is licensed under the MIT License - see the license file for details.

Contributing

If you're interested in contributing to this project in any form, please read our Contribution Guidelines.

Code of Conduct

We've adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Contributors

Thanks goes to these people (emoji key):


Adrian Perez

💻 📖 🚇 ⚠️

Adam Savitzky

💻

Ifeanyi Oraelosi

💻

Romario

🐛 🤔

Yuriy Kornienko

💻

Dmitry Shvedov

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].