ログイン実装
実装
crypto
session周り
セッション情報はcookieに入れてSameSiteを適切に指定する。Lexだとgetの時以外は別ドメインでcookie送られない。
JWTもcookieに保存すれば良さそう。
code: command
code: command
docker-compose build --no-cache
docker-compose build
docker-compose up --build
docker-compose down
docker-compose run --rm front sh -c "npm install -g create-react-app && create-react-app react-sample --template typescript"
UID=${UID} GID=${GID} docker-compose up --build
code: command
colima start --mount '~/workspace/go-react-nginx-docker/frontend:w' --mount '~/workspace/go-react-nginx-docker/backend/src:w' --mount '~/workspace/go-react-nginx-docker/nginx:w'
limactl shell colima
docker container ls -f "status=exited"
colima start --mount '~/workspace/go-react-nginx-docker/frontend:w' --mount '~/workspace/go-react-nginx-docker/backend/src:w' --mount '~/workspace/go-react-nginx-docker/nginx:w' --mount '~/workspace/go-react-nginx-docker/redis/data:w'
colima start --mount-type 9p --mount '~/workspace/go-react-nginx-docker/frontend:w' --mount '~/workspace/go-react-nginx-docker/backend/src:w' --mount '~/workspace/go-react-nginx-docker/nginx:w' --mount '~/workspace/go-react-nginx-docker/redis/data:w'