Skip to content

Blog-Post is a personal blogging website where you can create and share your opinions and other users can read and comment on them. Blog-Post also has random quotes that inspire the users.

License

Notifications You must be signed in to change notification settings

Joseph-Odhiambo/Blog-Post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog-Post

Author

Joseph-Odhiambo

Description

This is a flask application that allows writers to post blogs, edit and delite blogs. It also allows users who have signed up to comment on the blogs that has been posted by a writer. It also allows a person to subscribed to recieve email everytime a new blog is posted by a writer.

Live Link

View Site

Screenshots

Post from subscriber

Make a comment

All comments view

Delete a comment

User Story

  • A user can view the most recent posts.
  • View and comment the blog posts on the site.
  • A user should receive an email alert when a new post is made by joining a subscription.
  • Register to be allowed to log in to the application
  • A user sees random quotes on the site
  • A writer can create a blog from the application and update or delete blogs I have created.

BDD

Behaviour Input Output
Load the page On page load Get all blogs, Select between signup and login
Select SignUp Email,Username,Password Redirect to login
Select Login Username and password Redirect to page with blogs that have been posted by writes and be able to subscribe to the blog
Select comment button Comment Form that you input your comment
Click on submit Redirect to all comments tamplate with your comment and other comments
Subscription Email Address Flash message "Succesfully subsbribed to Blog-Post"

Development Installation

To get the code..

  1. Cloning the repository:
https://github.com/Joseph-Odhiambo/Blog-Post.git
  1. Move to the folder and install requirements
cd Blog-Post
pip install -r requirements.txt
  1. Exporting Configurations
export SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://{User Name}:{password}@localhost/{database name}
  1. Running the application
python manage.py run
  1. Testing the application
python manage.py test

Open the application on your browser 127.0.0.1:5000.

Technology used

Known Bugs

  • There are no known bugs currently but pull requests are allowed incase you spot a bug

Contact Information

If you have any question or contributions, please email me at [josephkdo@gmail.com]

License

  • MIT License:
  • Copyright (c) 2020 Joseph Odhiambo

About

Blog-Post is a personal blogging website where you can create and share your opinions and other users can read and comment on them. Blog-Post also has random quotes that inspire the users.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published