This project is an attempt to create an instant messaging website, similar to WhatsApp Web.
The website currently supports:
- Individual Chats
- Group chats
- Multi media messaging (images, audios, videos, etc)
-
Create a docker container for the mongo db server
docker run -d -p 27017:27017 mongodb-server mongo:latest
-
Create the config properties file (Location: src/configuration/config.properties)
CLOUD_NAME={Cloudinary Cloud Name / Username}
API_KEY={Cloudinary API Key}
API_SECRET={Cloudinary API Secret}
FLASK_SECRET_KEY={Unique Secret Key}
MONGODB_DB_STRING={NOT USED! IGNORE!}
MESSAGE_LIMIT_PER_SCREEN={Provide integer value}
-
Start the Flask server
python main.py
-
Visit
localhost:8080
to access the page. Sign up and then login to the website. Enjoy!
- Backend: Flask Web Server (Python based)
- Front End: HTML + CSS + Javascript + Bootstrap
- Data Base: MongoDB (SQL databases are also supported)
- Messaging: WebSockets (For lower latency and faster performance, compared to HTTP requests)
- Further development of the project, to add support for audio and video calls, are being considered.
- The project is open to any of sort of help, suggestions or criticisms.