This project implements a simple microservices architecture using React.js for the frontend, Node.js for the backend, Python-Flask as the Backend for Frontend (BFF), and MySQL as the database.
Make sure you have Node.js,npm, Python3 installed.
# Install dependencies
npm install
# Start the React development server
npm start
Open http://localhost:3001 in your browser.
# Install dependencies
npm install
# Start the Node.js server
node app.js
The server will be running on http://localhost:3000
# Install Flask and dependencies
pip install -r requirements.txt
# Start the Flask server
python3 bff_app.py
The BFF server will be running on http://localhost:5000
Make sure you have MySQL installed and running.
Create a database and tables using the provided SQL scripts in the database/ directory.