This is the API that enables the Teahouse client.
In planning for this project, we came together as a team to discuss how we wanted to handle the requirements we were given. We decided that we'd create an online chat room where everyone can talk to one another in real time. We began by working on the API to ensure that all the routes that we wanted were handled correctly. Then we began to work on the client side to make sure everything looked like we wanted it to.
- Node.js
- Express.js
- MongoDB / Mongoose
- Socket.IO
- Would like to eventually be able to create more chatrooms
- Would like to be able to add emoji picker
- Would like to be able to have users pick a profile picture
Verb | URI Pattern | Controller#Action |
---|---|---|
POST | /sign-up |
users#signup |
POST | /sign-in |
users#signin |
PATCH | /change-password/ |
users#changepw |
PATCH | /update-username |
users#updateusername |
DELETE | /sign-out/ |
users#signout |
DELETE | /delete-account |
users#deleteaccount |