https://github.com/joeriddles/fang
FastAPI, Angular, Postgres.
https://github.com/joeriddles/fang
Last synced: 11 months ago
JSON representation
FastAPI, Angular, Postgres.
- Host: GitHub
- URL: https://github.com/joeriddles/fang
- Owner: joeriddles
- License: mit
- Created: 2021-08-05T23:44:59.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-13T03:19:13.000Z (almost 5 years ago)
- Last Synced: 2025-08-12T04:59:56.088Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 496 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# [FastAPI](https://fastapi.tiangolo.com/) // [Angular](https://angular.io/) // [Postgres](https://www.postgresql.org/)
Inspired by [Aaron Bassett's](https://github.com/aaronbassett/) [FARM Stack](https://www.mongodb.com/developer/how-to/FARM-Stack-FastAPI-React-MongoDB/).
---
## Setup
```
cp ./sample.env ./.env
```
## Frontend
```shell
cd ./frontend
npm ci
npm run serve
```
## Backend
```shell
cd ./backend
python -m virtualenv .venv
./.venv/Scripts/activate.ps1
pip install -r requirements.txt
cd ..
python -m backend
```
## Docker
Dev
```shell
docker compose build
docker compose up -d
```
Prod
```shell
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
```