Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 790 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 790 Bytes

opendoor

opendoor sample repo

TODO Later

  • add unit tests
  • add pagination (bonus points)
  • Add more exception cases - like if network blows out, provide meaningful HTTP Status codes based on whether it was a bad request, or internal server errors etc. Be very picky with the HTTP Status codes for a maintainable and easy to debug service.
  • refactor the filtering function to not repeat some boilerplate code like if x then x = int(x) else None could be a lambda/nested function
  • add a database support. wasn't quite sure about what is really meant by a "datastore". we do have models, so the logic is decoupled with how the data persists. we can add a DB layer (SQLAlchemy etc.) should we choose to. But currently, we are storing in memory on app-start.
  • add integration tests