#!/bin/bash # Start the API server # Usage: ./server.sh [port] cd "$(dirname "$0")/.." PORT="${1:-3000}" export PORT="$PORT" npm run server