Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 1.54 KB

README.md

File metadata and controls

44 lines (26 loc) · 1.54 KB

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