Skip to content

Respheal/ab-api-poc

Repository files navigation

Archive Binge Recoded

Pytest (API) Playwright (Frontend) codecov (API)

API

The API is a FastAPI application. In production, it uses PostgreSQL and Celery to process requests and store data. In local development, the database is replaced with SQLite.

Getting Started

Launch the API locally by installing all dependencies and running uvicorn:

cd api
poetry install
uvicorn api.app.main:app --reload

Learn More

Frontend

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Install dependencies and run the development server:

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result. Pages and components live in frontend/src/app.

Learn More

To learn more about the packages used, take a look at the following resources:

Deploy

Check out our Next.js deployment documentation for more details.

Notes:

  • Have poetry installed (via pipx)
  • cd api, poetry install
  • cd frontend, npm install
  • install Playwright browsers: -- npx playwright install chromium firefox webkit // I had a hiccup at this step, not convinced playwright fully installed?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published