Skip to content

Makai-Stern/chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat

Made with REACT (Ant Design), Python (Fast API), Socket IO, SQL (SQLAlchemy)

chat-app

Installation

Use the package manager pip to install the necessary packages.

cd ./api
pip install -r requirements.txt

Usage

API:

Create a .env file in the "api" directory, with the following variables:

DB_URI="sqlite:///./database/data.db"
APP_NAME="Messenger"
DEBUG_MODE=True
HOST='0.0.0.0'
PORT=8000
secret='your_secret_key'
algorithm=HS256
DOMAIN='http://0.0.0.0:8000/'
python run.py

Socket:

cd ./socket
npm i
npm start

Client:

cd ./client
npm i
npm start

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Made with REACT (Ant Design), Python (Fast API), SQL (SQLAlchemy)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors