...or you might want to forgo the custom back-end completely and use one of the "nobackend" solutions: http://nobackend.org/solutions.html
For example deployd is open source AFAIR; others (like Firebase, Parse) are hosted solutions. But overall they all give you instant CRUD over your data. In your case, their turn-key multi-user capabilities are a bonus.