Locochat is a non-realtime made on both cli & ui platfrom, chat app implemented in python as my database course final project
'LocoChat' is a fancy combination of 'Locomotive' & 'chat'
also if you alter the characters you get 'Chocolat' =))
this is a non-realtime chat app meaning there is no concept of client & server implemented
also it is implemented in a way that only one user can use app with no matter how many tabs of app you open, it will only display one users dashboard
this project is built with python and used mysql as database
also there exists a User Interface made with React.js and an api using flask
note that the UI doesnt have the user limitation ability (yet)
code duplication in react components is in the 'OOOOOF' level and it could have better design patterns so feel free to contribute :)
- clone this repo
- add the sql file in db folder to your mysql app
- change the mysql conncetion entries in
connect.py
- if you want to use the cli app, enter cmd and use command
python main.py
- run the flask server
python api.py
- enter the locochat front folder
npm install
npm start
** be sure to install Flask and Flask_cors packages **