Giter Site home page Giter Site logo

firebase-haskell-client's People

Contributors

sphaso avatar

Watchers

 avatar  avatar  avatar

firebase-haskell-client's Issues

test install script

we could possibly create small command line script which

  1. asks for the url of the firebase project (with the hint of creating a firebase project first if they have no url yet)
  2. provides instructions to create the haskell: awesome test json
  3. asks for the secret
  4. asks for the filename to store the project credentials (which will be referenced by an envvar
  5. runs the tests? or otherwise verifies that the project was setup correctly

Request and Response types

Regarding Request:

  • we might want to wrap Firebase options (shallow, debug etc.) in a FirebaseRequest type which is then disassembled and fed to the wreq function
  • there is also a concern about wreq's post function. The post payload has a typeclass of "Postable". I would think it would be better to have the user give a JSON string which we would then parse and transform into a Postable data type

Regarding Response:

  • I think the absolute minimum requirement would be to return the response body and the status code
  • there is also a use case for the return of a particular header. When the user specifies "debug", additional information is stored in the "X-Firebase-Auth-Debug" response header
  • should we return every header just in case?

example code

I'd like to use this module, but I'm new to firebase. Could you include some example code that I could easily modify?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.