Skip to content

FastAPI Backend featuring basic social media features (vote, CRUD posts, users).

Notifications You must be signed in to change notification settings

DeepTalekar/Basic-Social-Media

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Social Media Backend

Github Actions Workflow Status GitHub Production Deployment Status dependency - fastapi view - Documentation Swagger UI Validation Status

Repo Hits Website Hits GitHub repo size PyPI - Python Version

FastAPI backend providing basic social media features

Visit the docs to know more

Note for Docs: Wherever there is the lock 🔓 icon you have to be an authorized user (you must be logged in) to make that request.

Features:

Authentication 🔐

  • User can login using the email and password only

Users 🧑

  • User can be created by following the UserCreate Schema

  • User details can be fetched using the id of the user

Posts 📃

  • User can get all the posts or either few of them with the help of query params:

    • limit: integer - Limit the number of posts by specifying integer values.

    • skip: integer - Applies an offset to the posts and returns the newly resulting posts.

    • search: string(Optional) - Search a post title which contains the search string.

  • User can also create a post by passing JSON object as a parameter following the PostCreate Schema.

  • User can also ask for an individual post.

  • User can only Update/Delete his/her own post(s).

Vote 👍/👎

  • It is similar to Facebook's Like button functionality.

  • User can vote(like) a post and unvote(dislike) the post that has been voted previously by you.

About

FastAPI Backend featuring basic social media features (vote, CRUD posts, users).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published