Skip to content

Kennytian/bun-app

Repository files navigation

bun-app

Build a docker image

docker build -t bun-app .

Run

docker run --rm --name bun -d -p 3003:3000 bun-app

or

docker compose -f docker-compose.yaml up --build -d

Test

curl http://localhost:3000

curl -X POST http://localhost:3000/send -d '{"mobile":"13800138000"}'

curl -X POST http://localhost:3000/verify -d '{"mobile":"13800138000", "code":"123456"}'

Develop

npm i -g bun

bun install

bun start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published