Skip to content

javierMayol/messageWall

Repository files navigation

Message Wall : A mini blog hosted by pythonanywhere.com implemented using Flask framework.


Description:

    A very simple project to get a feel of Flask framework and building a blog from scratch.
This website uses a SQL-Alchemy database to support user login, user posts, and other functionalities
and information about the user. 

Important commands:

    Uses python 3.7 environment. command line "workon venv" to initiate the environment.
                                 command line "deactivate" to logoff the environment.

    Git supported: Verify you're out of the Python environment, commands above, before executing git commands.
        git status - tells about changes commited or not
        git add <file> - adds the file or files that were modified to the branch
        git commit -m"..." - commits the changes and adds a comment to the log.
        git log -  logs with all commits done so far 

    vi <file> - view or edit a file. To edit click 'i', to exit edit clic 'esc'.
        quit (in view mode,'esc')
            :q (quit) 
            :wq (write and quit)
            :!q (quit with bam, undo changes and quit)
 

Tables for Message Wall database:
    +--------------------------------+
    | Tables_in_endlessLoop$comments |
    +--------------------------------+
    | alembic_version                |
    | comment                        |
    | comment_popup                  |
    | followers                      |
    | message                        |
    | notification                   |
    | post                           |
    | user                           |
    +--------------------------------+

    A rudimentary ansynchronyous email sending is implenmented when the user request a password reset.
This asynchronyous functionality is allowed by importing Python's Threads in the email.py module.

Language: Python3.7
 
 
Website:    https://endlessloop.pythonanywhere.com



Reference:
    https://blog.miguelgrinberg.com/
    https://flask.palletsprojects.com/en/1.1.x/
    https://getbootstrap.com/docs/4.4/getting-started/javascript/
    https://getbootstrap.com/docs/4.4/components/popovers/

About

A mini blog hosted by pythonanywhere.com implemented using Flask framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages