/blog

A personal blogging website where you can create and share your opinions and other users can read and comment on them.

Primary LanguagePythonMIT LicenseMIT

Blog

Author

Marvin Chomba Kangangi

Description

A personal blogging website where you can create and share your opinions and other users can read and comment on them.

User Stories 👪

  1. As a user, I would like to view the blog posts submitted
  2. As a user, I would like to comment on blog posts
  3. As a user, I would like to view the most recent posts
  4. As a user, I would like to alerted when a new post is made by joining a subscription.
  5. As a writer, I would like to sign in to the blog.
  6. As a writer, I would also like to create a blog from the application.
  7. As a writer, I would like to delete comments that I find insulting or degrading.
  8. As a writer, I would like to update or delete blogs I have created.

How to use 🚀

When the user opens the website, he/she will see the recent blog posts. The user can read and comment on different posts. The user can also subscribe in order to get alerts when a new post is added. Upon signing up/in, a user will be able to: 1. Add posts. 2. Delete comments 3. Delete their posts 4. View a personalized profile page

Tech used 💻

  1. HTML and CSS
  2. Python
  3. Flask
  4. Postgres
  5. Heroku for deployment

Set up and Installation

Prerequisites

The user will require git, flask, postgres and python3.6+ installed in their machine. To install these two, you can use the following commands

#git
$ sudo apt install git-all

#python3.6
$ sudo apt-get install python3.6.

#flask
$ pip install flask

#postgres
$ sudo apt-get install postgresql postgresql-contrib libpq-dev

Installation

To access this application on your command line, you need to clone it git clone https://github.com/marvinChomba/blog.git

Known Bugs ❌

Currently, there are no known bugs

Licence

This project is under the MIT licence

Copyright (c) 2018 marvinchomba