Implemented a full-stack template combining Next.js (frontend), FastAPI (backend), and PostgreSQL. Included Docker configurations for development and production, environment file templates, Makefile commands, and initial setup for database migrations and builds. The stack is production-ready and supports hot-reloading for local development.
8 lines
145 B
Bash
8 lines
145 B
Bash
#!/bin/bash
|
|
set -e
|
|
echo "Starting Backend"
|
|
|
|
# Apply database migrations
|
|
alembic upgrade head
|
|
# Execute the command passed to docker run
|
|
exec "$@" |