joycodes / joycodes-blog

This is a flask application where you can create and share your opinions and other users can read and comment on them.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Joycodes-blog

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

Author

Joyce Nguttu

Screenshot

image

Requirements

The following command installs all the application requirements

pip freeze -r requirements.txt

Installations

Run git clone https://github.com/joycodes/joycodes-blog.git

or download the zip file from github.

After extracting the files,

  1. Navigate to the project folder

cd joycodes-blog.

  1. Creating a virtual environment

pip install pipenv.

  1. Activating the virtual environment

pipenv shell.

  1. Running the application

python3.8 manage.py server

  1. Running tests

python3 manage.py test.

Technologies used

  • Python3
  • Flask
  • Html5
  • Css3
  • Bootstrap4

User stories

  • 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.

BDD(Behaviour Driven Development)

Login Inputs | Inputs | Description | | :--- | ---: | | Username | Account username, eg johndoe| | Password | Account password, eg parseword|

Signup inputs | Inputs | Description | | :--- | ---: | | Username | Account username, eg johndoe| | Email | User email, eg morty@testmail.com| | Password | Account password, eg parseword| | Confirm Password | Account password, eg parseword|

Blog inputs | Inputs | Description | |---|---| | Blog title | the title of the blog eg; Car news | | Blog post| The blog post itself| | Comment| A comment on the blog post|

License

MIT License © 2022 Joyce Nguttu

Collaborate

To collaborate, reach me on https://www.linkedin.com/in/jnguttu/

About

This is a flask application where you can create and share your opinions and other users can read and comment on them.

https://joycodesblog.herokuapp.com/

License:MIT License


Languages

Language:Python 53.5%Language:HTML 42.6%Language:CSS 2.1%Language:Mako 1.2%Language:Shell 0.7%Language:Procfile 0.1%