No description
Find a file
2025-02-24 23:49:04 -03:00
.sqlx chore: update sqlx offline files (#28) 2023-08-05 01:09:11 -04:00
hooks use cargo nextest for pre push runs 2025-02-24 23:49:04 -03:00
migrations Add optional URL field (#14) 2023-03-28 02:01:09 -03:00
src fix routes 2025-02-24 23:47:40 -03:00
static feat!: use msgpack instead of json (#40) 2024-03-06 21:38:04 -03:00
ts-client feat!: use msgpack instead of json (#40) 2024-03-06 21:38:04 -03:00
.dockerignore fix: docker build (#24) 2023-05-22 22:59:58 -04:00
.env Initial Commit 2022-07-18 01:26:35 -04:00
.gitignore chore: update rust version in docker to 1.71 (#29) 2023-08-06 01:20:53 -04:00
.hadolint.yaml fix: fix GMaps links and do some dependencies maintainance (#32) 2023-11-10 00:05:47 -03:00
.sqlfluff chore: add sqlfluff config (#36) 2023-11-20 23:47:10 -03:00
build.rs chore: add git hooks (#35) 2023-11-18 21:39:42 -03:00
Cargo.lock chore: update dependencies 2025-02-24 23:33:34 -03:00
Cargo.toml chore: update dependencies 2025-02-24 23:33:34 -03:00
CHANGELOG.md doc: improve README (#43) 2024-07-16 00:25:20 -04:00
cliff.toml chore(changelog): update for 0.2.2 (#34) 2023-11-10 15:09:28 -03:00
docker-compose.yml chore: add docker-compose.yml file for testing (#25) 2023-06-08 22:06:05 -04:00
Dockerfile feat!: use msgpack instead of json (#40) 2024-03-06 21:38:04 -03:00
LICENSE Initial commit 2022-07-18 07:23:49 +02:00
README.md doc: improve README (#43) 2024-07-16 00:25:20 -04:00

huellas

This service is backed by an Axum server and uses a raw Typescript front-end using Leaflet.js.

Development

To run the application locally, just do

cargo run

To compile the front-end code, go to the ts-client folder, install the dependencies with

npm install

and then run

make

Install git hooks

Run the following from the project root:

hooks/install.sh

Migrations

We use the sqlx CLI to manage migrations. To create a new one run

cargo sqlx migrate add

Cross-architecture building

Images are built for arm64 on a juicier machine using

docker buildx build --platform=linux/arm64 . -t oolong.ludwig.dog/pitbuster/huellas:X.Y.Z