https://marya-myblog.herokuapp.com/
This is a flask application of a personal blogging website where you can create and share your opinions and other users can read and comment on them. Additionally, the application displays random quotes to inspire users.
- User can view blog posts on the sites
- User can see random quotes on the site
- User can view the most recent posts
- User can subscribe to blog mailing list and receives an email alert when a new post is made.
- User can comment on blog posts
Input | Behaviour | Output |
---|---|---|
Subscribe to mail list | Input the email | Redirect to the index page |
User Login | Takes you to the homepage | Redirects you to the home page |
Create a blog form | Write your blog and post it to the blogs | Blog is displayed in index page |
User comment on the Blog post | Write your feedback and post it | Feedback is displayed under the blog post |
Writer updates a blog post | Updating the blog post in database | The blog post will be updated |
To get the code..
https://github.com/MaryamMuchai/My-Blog.git
cd My-Blog
pip install -r requirements.txt
export SQLALCHEMY_DATABASE_URI=postgresql+psycopg2:https://{User Name}:{password}@localhost/{database name}
python manage.py server
python3 manage.py test
Open the application on your browser 127.0.0.1:5000.
- Python3
- Flask
- Heroku
- Flask
- HTML5
- CSS3
- Javascript
- Font Awesome
- SQLAlchemy
- PostgreSQL
- Incase of any question or contributions, email: [email protected]