Description: You've been web-scrapping and querying databases for data. Now you will be the data provider 🎉.
For that, you will create your own API. This API will be able to receive information, store it, or serve it when needed.
In this project, you will practice:
You can create your API with SQL or with Mongodb. Feel free to choose the one you want.
Main goal: Create an API that:
Remember, YOU (your API) are the server, and clients send GET or POST requests to you.
data-bootcamp
channel.
https://api.slack.com/
(GET) /users
Returns every user in the database.
(GET) /messages
Returns every message sent in every chat.
(GET) /<chat_name>/<user>
Returns every message sent in a given chat.
(POST) /chat/<chat_id>
Creates a chat
(POST) /chat/<chat_id>/adduser
Adds a user to a chat.
(POST) /chat/<chat_id>/message
Adds a message from a user to a given chat.