Coder Social home page Coder Social logo

x0can / bloggers Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 7.51 MB

This is a flask application that allows writers to post blogs, edit and delite blogs. It also allows users who have signed up to comment on the blogs that has been posted by a writer. It also allows a person to subscribed to recieve email everytime a new blog is posted by a writer.

Home Page: https://awesome-blogs21.herokuapp.com/

Python 99.31% HTML 0.35% Mako 0.09% Shell 0.06% JavaScript 0.06% C 0.08% CSS 0.05%

bloggers's Introduction

BLOGGERS

Author

Alex-Mwaura

Description

This is a flask application that allows writers to post blogs, edit and delete blogs. It also allows users who have signed up to comment on the blogs that has been posted by a writer. It also allows a person who has subscribed to recieve email everytime a new blog is posted by a writer.

Live Link

View Site

User Story

  • A user can view the most recent posts.
  • View and comment the blog posts on the site.
  • A user should receive an email alert when a new post is made by joining a subscription.
  • Register to be allowed to log in to the application
  • A user sees random quotes on the site
  • A writer can create a blog from the application and delete blogs they have created.

BDD

Behaviour Input Output
Load the page On page load Select between signup and login
Select SignUp Email,Username,Password Redirect to login
Select Login Email and password Redirect to page with blogs that have been posted by writes and be able to subscribe to the blog
Select comment button Comment Form that you input your comment
Click on submit Redirect to that specific comment and its post, delete button for comment enabled
Subscription Email Address Send Email for every new blog added

Development Installation

To get the code..

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

Open the application on your browser 127.0.0.1:5000.

Technology used

Known Bugs

  • There are no known bugs currently but pull requests are allowed incase you spot a bug

Contact Information

If you have any question or contributions, please email me at [[email protected]]

License

  • MIT License:
  • Copyright (c) 2019 Alex Mwaura

bloggers's People

Contributors

x0can avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.