maxscott / CohelmSample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cohelm Takehome: NextJS + Python (FastAPI)

Loom Videos

Running the NextJS App

cd frontend
npm install
npm run dev

Running the Python App

cd backend
pip install -r requirements.txt
uvicorn main:app --reload

This starts the REST API on port 8000.

Running the Python Tests (example)

cd backend
python -m unittest discover -s tests

This starts the NextJS app on port 3000 (which expects the REST API running on port 8000).

About


Languages

Language:Python 61.7%Language:TypeScript 35.6%Language:JavaScript 1.6%Language:CSS 1.1%