This guide will walk you through setting up the project environment for both the server and client components.
Create a virtual environment named .venv
in the server directory:
python -m venv .venv
Activate the virtual environment (for Window):
.venv\Scripts\activate
Create a file named .env
in the server folder and configure it as needed.
Install the required Python packages using pip
:
pip install -r requirements.txt
Create table in database (MySQL):
cd server && python database.py
Install the required Node.js dependencies:
cd client && npm install
In a separate terminal, navigate to the client directory and start the client:
cd client && npm start
The project should now be up and running! Access the client application in your web browser.
Feel free to contribute to this project by submitting bug reports, feature requests, or pull requests.
This project is licensed under the MIT License.
< server >
│ .env
│ .env.example
│ database.py
│ run.py
│
└───src
│ auth.py
│ config.py
│ errors.py
│ events.py
│ forms.py
│ models.py
│ __init__.py
│
├───controllers
│ │ auth_controller.py
│ │ conversation_controller.py
│ │ friendship_controller.py
│ │ message_controller.py
│ │ user_controller.py
│ │ view_controller.py
│ └───__init__.py
│
├───routes
│ │ auth_routes.py
│ │ conversation_routes.py
│ │ friendship_routes.py
│ │ message.py
│ │ user_routes.py
│ │ view_routes.py
│ └───init__.py
│
└───util
│ api_features.py
└───util.py