Skip to content
/ chatphp Public

php slim framework REST API chat backend for bunq assessment

Notifications You must be signed in to change notification settings

ozgvr/chatphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatphp

a simple chat backend with authorization for bunq job assessment, made with php, slim framework and sqlite

Users endpoint

User login

POST /users/{username}, {"username","password"}

User register

POST /users, {"username","password"}

Get users list

GET /users

Chats endpoint

Retrieve chats for a user

GET /chats, headers=["Authorization"]

Retrieve messages in a chat

GET /chats/{id}, headers=["Authorization"]

Send message

POST /chats/message/ headers=["Authorization"], {"to","message"}

About

php slim framework REST API chat backend for bunq assessment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages