- Go to your terminal or command prompt
- Go to your root directory of this project
- In your terminal, please type the commands below in order:
cd app/feedback-form
npm install
npm install bootstrap bootstrap-vue
npm install vue-resource
- Go back to the root directory using
cd ../..
and type the below commands in your terminal:cd server
pip install -r requirements.txt
- Install and set up postgre SQL locally
- Create .env file inside the server directory
- Type the code below inside the .env file:
DATABASE_URL=postgresql+asyncpg://your_postgre_username:password@localhost/database_name
- Go to your terminal or command prompt
- Go to your root directory of this project
- In your terminal, please type the commands below in order:
cd app/feedback-form
npm run dev
- Open the link specified in your terminal
- Make a new terminal tab and type the commands below in order:
cd server
uvicorn main:app --reload
- Open the link specified in your new terminal tab
- Go to your terminal or command prompt
- Go to your root directory of this project
- In your terminal, please type the commands below in order:
cd server
pytest test_main.py
- Follow the instruction inside
test_main.py
to prevent any complications while testing