Skip to content

MuhammadNizamani/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend clone of social media app by using FastAPI

This API has 4 routes

1) Post route

This route is reponsible for creating post, deleting post, updating post and Checkinh post

2) Users route

This route is about creating users and searching user by id

3) Auth route

This route is about login system

4) Vote route

This route is about likes or vote system and this route contain code for upvote or back vote there is not logic about down vote

how to run locally

First clone this repo by using following command


git clone https://github.com/Sanjeev-Thiyagarajan/fastapi-course.git

then


cd fastapi-course

Then install fastapp using all flag like


pip install fastapi[all]

Then go this repo folder in your local computer run follwoing command


uvicorn main:app --reload

Then you can use following link to use the API


http://127.0.0.1:8000/docs 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published