Hasura Firebase Performance


Logo

Hasura connect Interceptor implementation that sends querys metric data to Firebase.


Report Bug · Request Feature


License Pub Points Contributors Forks

Pub Publisher Flutterando Youtube


Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Contact

About The Project



Hasura's Interceptor implementation that sends http request metric data to Firebase.

(back to top)

Sponsors

Logo

(back to top)


Getting Started

To install Hasura Connect and Hasura Firebase Performance in your project you can follow the instructions below:

a) Add in your pubspec.yaml:

dependencies:
hasura_connect: <last version>
hasura_firebase_performance: <last version>

b) or use slidy:

slidy install hasura_connect, hasura_firebase_performance

(back to top)

How To Use

A simple usage example:

//import
import 'package:core_module/core_module.dart';
import 'package:hasura_connect/src/presenter/hasura_connect_base.dart';

class MockHasuraService implements IHasuraService{
    HasuraConnect _connect;

    MockHasuraService(){
             _connect = HasuraConnect("https://meuHasura.com.br/v1/graphql", interceptors: [HasuraPerformanceInterceptor()
        ]);
    }

    @override
    HasuraConnect get connection => _connect;
}
 final _hasuraConnect = HasuraConnect();
 final hasuraPerformanceInterceptor = HasuraPerformanceInterceptor()
 
_hasuraConnect.interceptors.add(hasuraPerformanceInterceptor);

_For more examples, please refer to the 🚧 Documentation - Currently being updated 🚧 .

(back to top)

Features

  • ✅ Sends http request metric data to Firebase.

Right now this package has concluded all his intended features. If you have any suggestions or find something to report, see below how to contribute to it.

(back to top)

Contributing

🚧 Contributing Guidelines - Currently being updated 🚧

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the appropriate tag. Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Remember to include a tag, and to follow Conventional Commits and Semantic Versioning when uploading your commit and/or creating the issue.

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Flutterando Community

(back to top)

Contributors

(back to top)

Maintaned by



Built and maintained by Flutterando.