Frameworks/Libraries Used:
-
ReactJS(Frontend)
-
Flask(Backend)
-
PostgreSQL(Database)
-
Twilio Email API
-
- Material UI
Prerequisite: I am assuming NodeJS and Python in installend. If not check out these links: Python NodeJS
Running the application:
After cloning the repo navigate to the backend folder using:
cd backend
Install the requirements using:
pip3 install requirements.txt
or
pip install requirements.txt
Run the backend server
python3 app.py
For the frontend: Navigate to the fronted directory from the project root:
cd frontend/report_generator
Install npm dependecies: Navigate to the fronted directory from the project root:
npm install
Run the frontend:
npm start
Make sure you migrate the database in Flask using
flask-db migrate
Data must be stored in the DB to run the application as expected.