A simple chatroom utilizing HTML, CSS, Javascript and Flask Socket.IO. This website is a project in CS50W.
This website is not deployed online
- Sign in using a username.
- Create a chatroom.
- View all channels and users.
- Join any chatrooms and interact with other users.
- Personal touch: send an alert message to a specific user.
- Remembers you and the channel you were on even if you closed the window/browser.
- All the
code
required to get started
- Clone this repo to your local machine using
https://github.com/joiellantero/Flack.git
- 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
- Image from Freepik.com
- Favicon from https://gauger.io/fonticon/
- Bootstrap v4.4.1
- Material Design for Bootstrap 4
- Font Awesome v5.8.2