/BLOGS

An application for users to post their variety of blogs ,share their thoughts,and also commit on other peoples blogs.

Primary LanguagePythonMIT LicenseMIT

Application Name

  • BLOG-WEB

Author

  • JOHN Mariga

Description

  • A website for user to create their blogs depending on the categories of their choice,comment on other people's blogs and share the their views on trending things through their blogs.
  • A user can also upload their image and create a bio for more followers and popularity.

BDD

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

Development Installation

To get the code..

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

Open the application on your browser 127.0.0.1:5000.

Technology used

Support and contact details

License

licensed under MIT license