/Fang

FastAPI, Angular, Postgres.

Primary LanguageTypeScriptMIT LicenseMIT

Fang - FastApi & Angular + Postgres

Inspired by Aaron Bassett's FARM Stack.


Setup

cp ./sample.env ./.env

Frontend

cd ./frontend
npm ci
npm run serve

Backend

cd ./backend
python -m virtualenv .venv
./.venv/Scripts/activate.ps1
pip install -r requirements.txt
cd ..
python -m backend

Docker

Dev

docker compose build
docker compose up -d

Prod

docker compose -f ./docker-compose.yml -f ./docker-compose.prod yml build
docker compose -f ./docker-compose.yml -f ./docker-compose.prod yml up -d