##A web application that allows the users to post pitches, comment and vote on pitches.
By peter kuria
This is a web application that allows various users to submit a short pitch. Users can also be able to view other pitches from different categories (Pick-up Lines, Interview Pitches, Product Pitches, Promotion Pitches), comment and vote. For a user to do any of that, they need to have registered.
- As a user I would like to view the different categories.
- As a user I would like to see the pitches other people have posted.
- As a user I would like to comment on the different pitches and leave feedback.
- As a user I would like to submit a pitch in any category.
- As a user I would like to vote on the pitch they liked and give it a downvote or upvote.
Behaviour | Input | Output |
---|---|---|
Display Various Pitch Categories | N/A | Various pitches grouped by category are displayed |
Display pitches | Click on a Category | A page with a list of pitches from the selected category |
Add new pitch | Click New pitch | User Should register/sign in to add new pitch |
View Pitches | Click on a pitch | View a pitch and comments |
Comment on a pitch | Click Comment | Registered User displays a form where a user can comment on a certain pitch |
- Python3.6
- internet access
- $ git clone https://kuria-one-pitch.herokuapp.com/
- $ cd one-minute-pitch
- $ python3.6 -m venv virtual (install virtual environment)
- $ source virtual/bin/activate
- $ python3.6 -m pip install -r requirements.txt (install all dependencies)
- Inside the manage.py module change the config_name parameter from 'production' to 'development' ie app = create_app('production') should be app = create_app('development')
- $ ./start.sh
- A user needs to sign up
- A user the needs to sign in to vote and post pitches
In case You have any issues using this code please do no hesitate to get in touch with me through [email protected] or leave a commit here on github.
No known bugs
- Python3.6
- Flask framework
- Bootstrap
- PostgreSQL
MIT (c) 2017 peter kuria