Coder Social home page Coder Social logo

dwellingly-db-do-not-use's People

Contributors

ahl389 avatar ajquintero avatar htharker42 avatar kdv24 avatar trezp avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dwellingly-db-do-not-use's Issues

API review

What elements of the API are still up in the air? (Aside from #2, obviously).

For example, are there endpoints that still need to be constructed? Is the current FIrebase function set that calls into Firestore extensible enough? Should we fish or cut bait?

Things we know will need to be created:

  • Business logic
  • Joins in data (right now we can get all users or all tenants, but there is no join of data to get all the tenants that belong to a particular property)
  • Stretch goal: there was, at one point, the idea that we might have multiple organizations. What changes need to be made to the data structures to handle this?

Revisit "archived" categories

Right now, there's an entire endpoint for each element in the API and a duplicate set of tables for the "archiving" feature.

Questions:

  1. Does this functionality make sense? Couldn't "isArchive" be a boolean just as easily?
  2. Could the entire archiving feature set get moved back to a later phase of the project?
  3. What changes need to be made to the API?

API requests need to know what user is sending them and respond appropriately

Right now, if you have a copy of Postman, you can get any data from any of the API endpoints, regardless of whether or not you should access that data.

We need to lock down the API so that:

  • Only authenticated, authorized users can request data
  • Users only see the data they are authorized to see. For example, a property manager should not be able to request data on a tenant that does not live on one of their properties.

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.