Blog-Creator-API

This is a blog creation app where user can register and make a blog and others can visit that blog also uses allows user to upload images

tools used

  • FastAPI
  • JWT
  • Swagger
  • MongoDB
  • React
  • Chakra UI
  • Chrome Web Server
  • Motor
  • bcrypt
  • Pydantic
  • Postman

other tools

  • FileUpload
  • BSON
  • Serialization

Roles

  • Blog Owner
  • Visitor

Blog owner

Authentication

user has the ability to create an account and login and logout

Make a post

user can add a post to their blog user adds a title a pargraph description and an image to the post which will be shown

Preview

user can Preview all the Posts that he makes can preview one post as well

update and Delete Post

user can update and delete the post that they have on their blog

Visitor

View all

visitor can view all posts that the owner of that blog has made

View one

visitor can view one post at a time

Visitor Views

screencapture-localhost-3000-string-2022-04-30-23_45_50

screencapture-localhost-3000-string-626d7d8a5ccc21266ceb61c6-2022-04-30-23_48_07

Owner Views

screencapture-localhost-3000-2022-04-30-23_41_49

screencapture-localhost-3000-Register-2022-04-30-23_42_42

screencapture-localhost-3000-Dashboard-2022-04-30-23_39_18 (1)

screencapture-localhost-3000-Dashboard-Add-2022-04-30-23_03_54

!screencapture-localhost-3000-Dashboard-626d7d8a5ccc21266ceb61c6-2022-04-30-23_41_17

screencapture-localhost-8000-docs-2022-04-25-20_20_49

how to run

  • install all packages in requirements.txt file pip install -r requirements.txt
  • start server uvicorn main:app –reload
  • install all react packages npm install
  • start the client npm start

End

GitHub

View Github