Just copy the example json using this command:
cp config.json.example config.jsonThen you can specify your desired port and enter the credentials to your MongoDB database.
bun i
# Development mode
bun dev
# Production mode
bun start
# Daemonized
bun i -g pm2
pm2 start --name streakapi src/index.ts --interpreter ~/.bun/bin/bun # or what your bun location is