Skip to content

barkhachy/blog_application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Application

A REST API service for a Blog Application where users can

  • create their account,delete it
  • create blogs(picture can be uploaded on server)
  • update and delete their own blogs
  • view blogs created by others
  • add comment on blog, view all comments
  • edit and delete their own comments


      Two different parts of this project:
        1. Backend(Flask)
        2. Database(SQL)
      



      To successfully run this application you can clone this repo.
      1. Install all dependecies
      pip install -r requirements.txt
      2. Run the application
      python src.py
      3. Connect to : localhost:5000

      How to use?
      1. /signup to create a account with attributes in json format user_name, name, e_mail, password.
      2. /login to login with credentials in json format user_name, password
      3. /me to do all account related operations.
      4. /users to get all users details user_name, name, e_mail
      5. /blogs to view all blogs with 'GET'
      6. /blogs to create new blogs with 'POST' Method
      7. /blogs/id to edit or delete own blog with blog_id
      8. /blogs/id/comments to add or view comment on particular blog
      9. /blogs/id/comments/comment_id to view or delete comment if they are the owner of that comment

      Here we have also audit table to store all user's event


                                     `Future scope to reduce the latency` 
      

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages