このリポジトリはレスポンスヘッダーの設定を確認するためのサンプルです。
cd frontend
npm install
cd ..
cd backend
pip install -r requirements.txt
cd ..
# install nginx
# ex. brew install nginx(mac)
make start-frontend
make start-backend
make start-nginx
http://localhost:80 からアプリにアクセスできます
なお、nginxを停止する場合は以下のコマンドを実行してください。
make stop-nginx
フロントエンドの設定は、 frontend/nginx.conf を参照してください。
バックエンドの設定は、 backend/main.py を参照してください。