a simple chat backend with authorization for bunq job assessment, made with php, slim framework and sqlite
POST /users/{username}, {"username","password"}
POST /users, {"username","password"}
GET /users
GET /chats, headers=["Authorization"]
GET /chats/{id}, headers=["Authorization"]
POST /chats/message/ headers=["Authorization"], {"to","message"}