NINAnor / seabird-gps-database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration

Secrets

Generate passwords and tokens randomly:

docker compose --file setup/docker-compose.yml build
docker compose --file setup/docker-compose.yml run --rm setup

Run

docker compose --env-file secrets/docker --env-file secrets/tokens up --build

Use the API

Import CSV data

source secrets/tokens
curl http://localhost:3000/import \
    -H "Authorization: Bearer $WRITER_TOKEN" \
    -H "Content-Type: text/csv" \
    --data-binary @- < file.csv

About


Languages

Language:PLpgSQL 69.7%Language:Rust 13.7%Language:Python 12.0%Language:Shell 2.4%Language:Dockerfile 2.2%