Salim Blog API
A Simple Blog Service created with Fast API and Redis-OM
Overview video
Here's a short video that explains the project and how it uses Redis:
How it works
The blog is pretty simple. It has the following API's;
-
A
GET
method at the home page that displays the messageHello world, I am Salim from Africa!
. -
Two
POST
methods [to create authors and blogs respectively] that users can use to create a new blog and register as an author.
The author method collects the pk, first name, last name, email address, bio of the author and the date the author joined. The schema is shown below.
"pk": "string",
"first_name": "string",
"last_name": "string",
"email": "string",
"bio": "string",
"date_joined": "2022-08-24T16:59:09.222111"
-
A
GET
method that retrieves the created blogs. -
A
PUT
method that is capable of updating blogs. -
A
DELETE
method that makes users able to delete blogs.