Install the dependencies using the following command
pip install flask flask_cors pymongo
Run the server file using the following command. Make sure your MongoDB server is still running :
$ python3 app.py
Your application server will run locally at http://localhost:5000
npm install
npm run serve
Your application will run locally at http://localhost:8080