Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Fence — Portfolio Platform

Two small applications built by our product team:

  • backend/ — a FastAPI service exposing portfolio data (/assets, /metrics, /health), backed by Postgres.
  • frontend/ — a Next.js dashboard that renders those metrics and an asset table.

Running locally (current state)

The apps run on a laptop today. There is no containerization or automation yet — this is the manual process the product team currently uses.

1. Database (Postgres)

createdb fence_portfolio
psql -d fence_portfolio -f backend/init.sql

2. Backend

cd backend
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload

The API runs on http://localhost:8000 — e.g. http://localhost:8000/metrics

3. Frontend

cd frontend
npm install
npm run dev

The dashboard runs on http://localhost:3000

About

Senior DevOps Engineer take-home challenge — starter repo (intentionally un-productionized).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages