By ** Akumu Collins ** ;
This application allows users to can create and share your opinions and other users can read and comment on them. blog also has random quotes that inspire the users.
To get the code.. Cloning the repository:
https://github.com/Akumucollins/Personal-Blog.git
Move to the folder and install requirements
cd Wise_Pitches
pip install -r requirements.txt
Exporting Configurations
export SQLALCHEMY_DATABASE_URI=postgresql+psycopg2://{User Name}:{password}@localhost/{database name}
Running the application
python3.8 manage.py server
Testing the application
python3.8 manage.py test
Open 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 akumucollins001@gmail.com .
The project is MIT licensed