Skip to content

clar1k/blogify-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blogify - RESTful API 😎

Main Features

  • Register a user, add a profile picture, login and receive JWT, update user info, delete user, update data for user.

  • Create posts, update posts, get posts by user id, delete posts.

  • Create comments, update comments, delete comments, get comments on the post.

  • Like posts, unlike posts, get user liked posts.

  • Follow user, unfollow.

Tech Stack

  • FastAPI

  • MongoDB 🍃

  • JWT 🕸️

  • GraphQL

How to run the app

You need installed MongoDB, Python(3.11.3) version to run this. 🙌

  • Run the command in your terminal.

      git clone https://github.com/clar1k/blogify-api
    
  • Go to the new directory. When write in command line:

      py -m venv .venv
    
  • Activate virtual environment.

      pip install -r requirements.txt
      python main.py
    
  • Go to the http://127.0.0.1:8000/docs in your browser to see documentation and all the endpoints for the API

If you liked the project you could support me here BuyMeACoffee

About

Blogify Restful API - FastAPI, MongoDB, JWT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages