Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (31 loc) · 2.64 KB

README.md

File metadata and controls

39 lines (31 loc) · 2.64 KB

Foxenger

Local chat prototype made with Python Flask.

Python Flask JavaScript jQuery

Important

This project is archived and now read-only. Be aware that if you attempt to run this project, it probably won't work.

What's this?

Foxenger is a (work in progress) small school project, made with Flask and using some Javascript and Ajax. The main feature of this project is to create a small chatting application where an user can log in and start chatting under some username.

The project isn't meant to be secure (no password & data encryption, etc) or efficient in terms of performance as it's not the first goal of the project. With this small project (as a Python dev), I would like to start learning some javascript and improve my skills.

What are you using to make this work?

Here is basically how the application work:

  • No (real) database. Everything is storred for now in a json file, which is enough for this project.
  • Ajax requests. Messages are fetched every few seconds with an Ajax request to the Flask web server.
  • Single page project. Elements in page are being updated with Javascript. Everything happens in the same page.

Is this going to be a real project?

For now, no. However, this school project is still ongoing and it's really fun to work on it! I will try to push some updates whenever I have time. Here is a list of a few things that I would like to do:

  • Use a real database (possibly MongoDB) instead of json files
  • Move helper functions from core and import them as module
  • Remove duplicate Flask routes and improve their names
  • Improve the UI design by using Tailwind CSS
  • Replace remaining HTTP requests with Ajax
  • Possibly use websockets instead of checking with setInterval()

Can I see how it looks like?

Not yet! The project itself has multiple security vulnerabilities and publishing a live version may create some issues. Once the app is ready for being launched in production mode, it will be publicly accessible and more information will be added here.