Chirpy is a monolith REST API written in go that acts as a messaging platform
The frontend can be accessed under /apps will be compiled from the root directory
Accessable under /admin
You can see the number of times a Chirp has been read only as a GET request
Everything here will be accessed under /api
Accessable under /healthz This will tell you if the server is up
This will reset the metrics
This will return all the chirps on the server
This will return the chirp with that specific id
This will reset your database
This will create a chirp
This will create a user
This will return a Refresh and Access Token
Takes a refresh-token as input, it returns a new access token
Takes a Refresh Token as input and revokes it
This is a POST Request and takes a body like this
{
"event": "user.upgraded",
"data": {
"user_id": 3
}
}
This updates the user
deletes the Chirp under chirpID