A personal blogging website where you can create and share your opinions and other users can read and comment on them. Additionally, there is a feature that displays random quotes to inspire other users. It therefore basically creates blogs and allows users to comment pn these posts , while writers can delete blogs and also comments.
- As a user, I would like to view the blog posts on the site
- As a user, I would like to comment on blog posts
- As a user, I would like to view the most recent posts
- As a user, I would like to an email alert when a new post is made by joining a subscription.
- As a user, I would like to see random quotes on the site
- As a writer, I would like to sign in to the blog.
- As a writer, I would also like to create a blog from the application.
- As a writer, I would like to delete comments that I find insulting or degrading.
- As a writer, I would like to update or delete blogs I have created.
Writers view
Users View
Behaviour | Input | Output |
---|---|---|
Application starts | On page load | see all available blogs and some inspiring quotes |
Login | user email and user Password/passcode | If account already exists redirect to home page and user can see the blogs and subscribe to get updates |
Sign up/ Register | Username, user email password | Redirects to login page for user to login into the application |
click on comment button | Comment | user submits comments via a form about a certain blog |
Comment button | button click | message flash of commenting successfully |
Subscription to BlogSpot | User email Address | Flash message "Successfully subscribed to BlogSpot for updates on new blogs" |
- pip
- gunicorn
- flask
- wtf-forms
- Git clone the repository to your local computer
https://github.com/Reuben-Kipkemboi/personal-blog.git
- change Directory
cd
into blog
cd blog
- create a virtual environment
python3.8 -m venv virtual
- activate the virtual environment
source virtual/bin/activate
- To deactivate the environment
deactivate
- Install Flask
pip install flask || pip3 install flask
- Execute start.sh
chmod a+x start.sh
./start.sh
-
Slack - Reuben Kipkemboi
-
Email - Reuben Kipkemboi 📧
© 2022 @ Reuben Kipkemboi.