SIMPLE BLOG APP

SIMPLE BLOG APP

This is a simple blog app where users can:

  • Register and login into the app
  • See posts
  • Create posts
  • Update posts
  • And delete posts

The user can also logout of the app

Requirements

To be able to run the the program on your local machine you should have the following

  • install a virtual environment
  • install flask
  • install wtforms for the login and registration forms
  • sqlalchemy for the database
  • install bcrypt to hash the passwords

Setting up the environment

install a virtual environment on your windows machine: In your Windows command shell prompt type in:

pip install virtualenv

Once inside the project folder run:

virtualenv <env>

the activate your virtual environment:

.\<env>\Scripts\activate

To Run the code

still in your virtual enviroment:

set FLASK_APP=run.py

then

flask run

you will now be able to explore the app on your local machine

the source code to the app is here

thanks for reading.

29