By ** Akumu Collins ** ;
This application allows users to post one minute pitches and also allows other users who have signed up to comment and upvote or downvote a pitch. It also allows a person to signup to be able to access the functionalities of the application
To get the code.. Cloning the repository:
https://github.com/Akumucollins/Wise_Pitches.gitMove to the folder and install requirements
cd Wise_Pitches
pip install -r requirements.txtExporting Configurations
export SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://{User Name}:{password}@localhost/{database name}Running the application
python3.8 manage.py serverTesting the application
python3.8 manage.py testOpen the application on your browser
127.0.0.1:5000
- python3.8
- pip
- virtualenv
- Flask
- Python.
| Behaviour | Input | Output |
|---|---|---|
| Load the page | On page load | Get all posts, Select login |
| Select login | Email,Password | Redirect to Home page |
| Select SignUp | Email,Username,Password | Redirect to login |
| Select Login | Username and password | Redirect to page with all pitches based on categories and commenting section |
| Select comment button | Comment | Form that you input your comment |
| Select comment button | Add Comment | Form that you input your comment |
| Select comment button | View Comment | Redirect to all comments |
| Click on submit | Redirect to all comments tamplate with your comment and other comments |
The application is an open-source product if you want to improve it or include an event of a bug contact this [email protected] .
The project is MIT licensed