This is an application for multiple people to manage the stub APIs.
All you have to do is the following.
# Specify the port you want to provide
HOST_PORT=8080
# If you run this app on http://, you should set true
DISABLE_SECURE_COOKIES=false
# Let's enjoy!
docker run --init -e SESSION_SECRET_KEY="your random string of at least 32 bytes" \
-e DISABLE_SECURE_COOKIES=$DISABLE_SECURE_COOKIES \
-d --restart=on-failure:1 \
-p $HOST_PORT:3000 -v $(pwd)/data:/data ghcr.io/solaoi/co-metub:latest
Your stub data will be persisted under /data in the current directory.
# Specify the port you want to provide
HOST_PORT=3000
docker run --init -d -p $HOST_PORT:5555 -v $(pwd)/data:/data ghcr.io/solaoi/co-metub:latest \
blitz prisma studio
Project is the place to manage your stubs.
Let's create the project with ADD button.
On Project, you could create stubs with ADD button.
You get the stub with the COPY button in Project or Stub.