Thursday, August 25, 2022
HomeWordPress DevelopmentConstructing the Salim Writing Weblog

Constructing the Salim Writing Weblog




Overview of my Submission

For my submission within the Redis Hackathon, I constructed a Weblog Service with python’s quickest internet framework, FastAPI and Redis OM. I used to be in a position to create a Redis database on Redis, database fashions with Redis-OM after which develop Restful APIs with Python FastAPI that would work together with Redis to create, retrieve and search knowledge. FastAPI is a contemporary, high-performance Net framework for creating RESTful APIs in Python. It’s recognized for being quick, straightforward and mechanically producing swagger API docs.

The inspiration for this mission is solely from how a lot I really like to put in writing. By advantage of how a lot I really like to put in writing and my curiosity as a software program engineer, I’ve at all times puzzled what the database structure of running a blog companies could be like.

Right here is the hyperlink to the GitHub repository what I constructed is saved in containing a README and a MIT license.

https://github.com/salimcodes/salim-blog



Submission Class: Wacky Wildcards

Here is a brief video that explains the mission and the way it makes use of Redis:

IMAGE ALT TEXT HERE



Language Used

I used Python for my mission.



Hyperlink to Code: GitHub repository containing a README and a MIT license

A Easy Weblog Service created with Quick API and Redis-OM

image

image

image

image

Here is a brief video that explains the mission and the way it makes use of Redis:

IMAGE ALT TEXT HERE

The way it works

The weblog is fairly easy. It has the next API’s;

  • A GET technique on the residence web page that shows the message Hi there world, I'm Salim from Africa!.

  • Two POST strategies [to create authors and blogs respectively] that customers can use to create a brand new weblog and register as an creator.

The creator technique collects the pk, first identify, final identify, electronic mail tackle, bio of the creator and the date the creator joined. The schema is proven beneath.

"pk": "string",
  "first_name": "string",
  "last_name": "string",
  "electronic mail": "string",
  "bio": "string",
  "date_joined": "2022-08-24T16:59:09.222111"
  • A GET technique that retrieves the created blogs.

  • A PUT technique that’s able to updating blogs.

  • A DELETE technique that makes customers in a position to delete blogs.

How

…



Collaborators

Solo mission



Screenshots and Demos

image

image

image

image

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments