Best Flask open-source libraries and packages

Flack chatroom

A simple chatroom inspired by slack using Javascript and Flask Socket.IO
Updated 3 years ago

Flack

A simple chatroom utilizing HTML, CSS, Javascript and Flask Socket.IO. This website is a project in CS50W.

This website is not deployed online

Usage

  • Sign in using a username.

SIGNIN GIF

  • Create a chatroom.

CREATE CHATROOM GIF

  • View all channels and users.

VIEW GIF

  • Join any chatrooms and interact with other users.

JOIN GIF

  • Personal touch: send an alert message to a specific user.

ALERT GIF

  • Remembers you and the channel you were on even if you closed the window/browser.

REMEMBER GIF

Local Deployment

  • All the code required to get started

Clone

  • Clone this repo to your local machine using https://github.com/joiellantero/Flack.git

Setup

  • After cloning run the following code to get started:

Open terminal and navigate to the directory of the cloned repo

$ cd Flack-<branchname>

# example - if on branch master
$ cd Flack-master

Activate your virtual environment

$ virtualenv env
$ source env/bin/activate

Install the required modules

$ pip3 install -r requirements.txt

Setup flask and database

$ export FLASK_APP=application.py
$ export FLASK_ENV=development
$ export SECRET_KEY="secret"

Run flask

$ flask run

Resources