This guide starts the complete local development environment for Dev Interview Notes.
- Docker Engine 24+ with Docker Compose
- Git
git clone <your-repository-url>
cd dev_interview_notes
cp .env.example .env
cp frontend/.env.example frontend/.env
docker compose up --build db migrations api frontendOpen the application at http://localhost:5173.
The API is available at http://localhost:8888. Interactive documentation is available at http://localhost:8888/docs, and the health endpoint is http://localhost:8888/health.
The database is exposed to the host on port 5454. Inside Docker Compose, the API and migrations service connect to PostgreSQL through db:5432.
# Run in the background
docker compose up -d db migrations api frontend
# Follow application logs
docker compose logs -f api
# Stop services
docker compose down
# Stop services and delete database data
docker compose down -vThe optional nginx service requires reverse-proxy configuration and SSL files under nginx/. Those files are not included in the current development setup.
poetry install
cp .env.example .env
poetry run alembic upgrade head
poetry run uvicorn app.core.main:app --reload --host 0.0.0.0 --port 8888For a local PostgreSQL instance, update DB_HOST, DB_PORT, DB_USER, DB_PASSWORD, and DB_NAME in .env.
cd frontend
cp .env.example .env
yarn install
yarn devSet VITE_API_URL=http://localhost:8888/api/v1 in frontend/.env when the API runs locally.
curl http://localhost:8888/
curl http://localhost:8888/healthFor configuration, architecture, API routes, and contribution workflow, see the main README and the docs.