GithubHelp home page GithubHelp logo

ajedidahmwanzia / blog Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.22 MB

A flask application that allows writers to post , edit and delete blogs. It also allows users who have signed up to comment on the blogs that have been posted .

License: MIT License

Python 72.43% CSS 1.51% HTML 25.19% Mako 0.69% Shell 0.17%
css flask flask-sqlalchemy html python

blog's Introduction

Blog

Author

AjedidahMwanzia

Description

A flask application that allows writers to post , edit and delete blogs. It also allows users who have signed up to comment on the blogs that hav been posted .

Live Link

View Site

Screenshot

User Story

  • Comment on the different blogs posted by other writers.
  • See the blogs posted by other writers.
  • Register to be allowed to log in to the application
  • Submit a pitch to a specific category of their choice.

BDD

Behaviour Input Output
Load the page On page load Get all posts, Select between signup and login
Select SignUp Email,Username,Password Redirect to login
Select Login Username and password Redirect to page with app blogsand commenting section
Select comment button Comment Form that you input your comment
Click on submit Redirect to all comments template with your comment and other comments

Development Installation

To get the code..

  1. Cloning the repository:
https://github.com/AjedidahMwanzia/Blog.git
  1. Move to the folder and install requirements
cd Blog
pipenv install requests
  1. Exporting Configurations
export SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://{User Name}:{password}@localhost/{database name}
  1. Running the application
python3.8 manage.py server
  1. Testing the application
python3.8 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

License

  • MIT License:
  • Copyright (c) 2022 Ajedidah Mwanzia

Go Back to the top

blog's People

Contributors

ajedidahmwanzia avatar

Watchers

 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.