Giter Site home page Giter Site logo

pensify's People

Contributors

ramparameswaran avatar

Stargazers

 avatar

Watchers

 avatar

pensify's Issues

Migrate to Mongo Realm serverless architecture and GraphQL

I'm excited to try out the Mongo Realm serverless platform. Pensify is a perfect use-case for it, and it will accelerate development by removing the need for a backend.

The Realm platform is a MongoDB database, but performs authentication and data access controls internally at the DB-level.

  • Old method - A user requests data; the frontend makes a HTTP request to a backend; the backend checks auth and access permissions, the backend queries the DB, the backend returns the payload to the frontend. The backend is tedious layer which requires duplicating logic all over the place ๐Ÿ‘Ž
  • Realm method - A user requests data; the frontend calls Mongo Realm cloud platform directly; Realm checks auth and access permissions, Realm returns the payload to the frontend. Realm even provides an Auth service with pre-built hooks for social-auth! โœŒ๏ธโœŒ๏ธโœŒ๏ธ

More exciting is Mongo Realm Sync, which is an offline-first database design. It manages a local-db at the device level, which asynchronously syncs with the cloud DB when an internet connection is available. It handles data serialization, network recovery and conflict resolution all at the DB-level. This is amazing!
Unfortunately, Realm Sync is not available as part of the web-SDK - but it is nonetheless a good capability for the eventual Pensify react-native app.

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.