FaithKwamboka / Kwash_Blog

An application that allows users to post blogs and read blogs. Users are also able to leave comments, like, unlike and delete comments.

Home Page:https://kwashblog.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Author

Faith Kwamboka OKong'o

Kwash Blog

This is an application that allows users to post blogs and read blogs. Users are also able to leave comments, like, unlike and delete comments. The application also allows users to subscribe and receive notifications about new blog posts.

blog_1

User Stories

  • As a user, I would like to subscribe and receive a welcoming email as well as notifications about new blog posts.
  • As a user, I would like to see the blogs posted.
  • As a user, I would like or unlike a blog.
  • As a user i would like to leave a comment
  • As a user, I would like to receive a welcoming email once I sign up.
  • As a user, I would like to submit a blog.
  • As a user, I would like to view the blogs I have created in my profile page.

BDD(Behaviour Driven Development)

Login Inputs

Inputs Description
Username Account username, eg kwash
Password Account password, eg kwash123

Signup inputs

Inputs Description
Username Account username, eg kwash
Email User email, eg kwash@gmail.com
Password Account password, eg kwash
Confirm Password Account password, eg kwash123

Blogs inputs

Inputs Description
Blog text The actual blog body
Comment A comment on the Blog

Technologies used

  • Python3
  • Flask
  • Html5
  • Css3
  • Bootstrap4

Installations

The following command installs all the application requirements

pip freeze -r requirements.txt

Setup

Run https://github.com/FaithKwamboka/Kwash_Blog.git

or download the zip file from github.

After extracting the files,

  1. Navigate to the project folder

cd name_of_folder

  1. Creating a virtual environment

virtualenv virtual.

  1. Activating the virtual environment

source virtual/bin/activate.

  1. Running the application

python3 manage.py server

  1. Running tests

python3 manage.py test.

Collaborate

For any collaborations, reach me on okongofaith3@gmail.com

About

An application that allows users to post blogs and read blogs. Users are also able to leave comments, like, unlike and delete comments.

https://kwashblog.herokuapp.com/

License:MIT License


Languages

Language:Python 66.5%Language:HTML 30.6%Language:CSS 1.6%Language:Mako 1.2%Language:Procfile 0.1%