- 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 formatuser_name, name, e_mail, password
.
2./login
to login with credentials in json formatuser_name, password
3./me
to do all account related operations.
4./users
to get all users detailsuser_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
`Future scope to reduce the latency`
-
Notifications
You must be signed in to change notification settings - Fork 0
barkhachy/blog_application
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published