Skip to content

i-am-epic/TwitterClone

Repository files navigation

TWITTER_API

Simple Twitter clone API using Fastapi

This is a basic api which has major features of a twitter(social media app) using jwt token as authentication.It is microblogging and social networking service on which users post and interact with messages known as "tweets". Registered users can post, like, and retweet tweets, but unregistered users can only read those that are publicly available.

Features

Basic CRUD operation on posts,users,votes,category,retweet.

1.CREATE
2.READ
3.UPDATE
4.DELETE

Libraries imported/installed

Fastapi
psycopg2 drivers //newer version is available
pydantic
uvicorn
others are listed in /required.txt

To Run the API server

run using uvicorn:

uvicorn app.main:app --reload

Default location/url http://127.0.0.1:8000/ [Localhost]

USE POSTMAN FOR API HANDELING.

Some of the defined api calls are listed:

Functions available

alt text

#Any contribution is appretiated

About

DBMS project to attempt twitterclone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages