Make sure to have Node.js installed on your system. You can download and install it by following the instructions in this video:
First, clone the repository to your local machine:
git clone https://github.com/Git-Cat-21/Personalized-Financial-Assistance.git
cd Personalized-Financial-Assistance
1.Install Python Dependencies
pip install -r requirements.txt
2.Initialize Node.js and Install Dependencies
-
Initialize your Node.js project (only required once):
npm init -y
-
Install the required Node.js packages:
npm install express mysql2 ejs
-
Open two terminals.
-
In the first terminal, start the Node.js service:
node data_fetch.js
- In the second terminal, start the Python application:
python app.py
This will start the backend services on both Node.js and Python. Keep both terminals open to run the services simultaneously.