Complete rewrite of the server using clean architecture

For now only the login and register services work