Before running any command
cd /frontend
npm install
npm run serve
If you wish to set the service port...
npm run serve -- --port=<YOUR_PORT>
Example
npm run serve -- --port=12000
Change redirection rule at /frontend/vue.config.js
...
proxy: {
'/api':{
target: 'http://localhost:5000', // backend url
...
}
},
...
Default frontend server port can also be changed here.
Before running any command
cd /backend
pip install -r requirements.txt
python app.py