Skip to content

💭 non real-time chat app implemented in python and stored in mysql database

Notifications You must be signed in to change notification settings

mr-amirfazel/locochat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

locochat

Locochat is a non-realtime made on both cli & ui platfrom, chat app implemented in python as my database course final project

UI

to-go_edit1

cli

image

Naming

'LocoChat' is a fancy combination of 'Locomotive' & 'chat'
also if you alter the characters you get 'Chocolat' =))

About this project

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 :)

ERD

the ERD table is shown below image

How to use

  • 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

to use the ui app

  • 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 **

About

💭 non real-time chat app implemented in python and stored in mysql database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published