code-for-charlottesville / housinghub

GNU General Public License v3.0
14 stars 23 forks source link

Database changeset management, project structure and login/auth implementation #16

Closed thinkharderdev closed 4 years ago

thinkharderdev commented 4 years ago

@dgoldstein1 This PR covers a couple of things:

  1. Add Alembic to manage DB changesets. They should run automatically in the Tilt env to apply changesets ass they are added to the project. Not sure how we handle it in production environment yet though.

  2. Implemented ORM for User entities and filled in DB integration for register and login APIs

  3. Added some project structure around models and services. I have never actually built an application in Python (only used it for data science stuff), so not sure how "pythonic" I'm being here. But waddyagunnado?