Skip to content

TheLazzziest/polar-oauth-app

Repository files navigation

Polar CLI

Polar Accesslink Docker Docker Pulls ngrok Python SQLite

Prerequisites

  1. You must have a Polar account.
  2. You must have an oauth2 application registered on Polar Admin page.
  3. You must have a ngrok account.

Quickstart

  1. Run ngrok agent:
ngrok http http://localhost:8000
  1. Create .env file and fill it:
cp example.env .env

Docker flow

  1. Run the Docker container:
docker run -d -p 8000:8000 --env-file .env thelazzziest/polar-oauth-app --host 0.0.0.0 --port 8000 --log-level debug

Local flow

  1. Create the virtual environment:
uv sync
  1. Activate the virtual environment:
source venv/bin/activate
  1. Run the application:
uvicorn src.web:app --reload --host localhost --port 8000 --log-level debug

Resources

About

An example of polar auth application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published