The using facing property of CCDExplorer. Now completely redone, in shiny dark mode!
The redesign has removed the dependencies on the DB as well as the node.
The site is built on FastAPI, with all data retrieved via the API.
- An API Key. You can purchase a key on https://api.ccdexplorer.io or request a development API key on Telegram (DM me).
- Git clone, make a venv (
python3 -m venv .venv
) and activate it. - Install dependencies (in the venv)
pip install -r requirements.txt
-
Set ENV variables Copy the
.env.sample
to.env
. Fill in the CCD-EXPLORER-KEY. Note that API keys are scoped to a domain, so an API key requested for api.ccdexplorer.io will NOT work on dev-api.ccdexplorer.io and vice-versa. Adjust your API_URL env variable accordingly. -
Start FastAPI process
uvicorn app.main:app --loop asyncio --host 0.0.0.0 --port 8000
- Open a browser window at http://localhost:8000.
The following NPM packages are installed: bootstrap-icons@1.11.3
- bootstrap@5.3.3
- bootstrap5-toggle@5.1.1
- flatpickr@4.6.13
- htmx-ext-class-tools@2.0.1
- htmx-ext-json-enc@2.0.1
- htmx.org@2.0.1
- jquery@3.7.1
- plotly.js-dist@2.34.0
- sass@1.77.8
- sortable-tablesort@3.2.3
A Dockerfile is supplied that builds the project into a Docker image (this is the image that is being used on CCDExplorer.io).