π DatAtlas is a geospatial data vizualization tool β¨ based on Kepler.gl and developed by Erasme, the open innovation lab of the Lyon π«π· metropolitan area.
DatAtlas allows to create and share custom interactive maps from various datasource:
GeoJson
, csv
, etc.DatAtlas is a custom Kepler.gl frontend with a Nestjs API allowing to save and share your maps via a URL.
Kepler.gl is an open-source, data-agnostic, high-performance app for visual exploration of large-scale geolocation data sets. It's built on top of Mapbox GL JS and DECK.gl. It can render millions of points representing thousands of trips and perform spatial aggregations on the fly.
DatAtlas fix some of Kepler.gl issues to allow multiple maps to work flawlessly in a single app.
It also brings documentation on some hidden customization features and shed some light on some of the complex patterns used in the Kepler.gl codebase.
Support our contributions to the Kepler.gl codebase! > https://github.com/keplergl/kepler.gl/issues?q=is%3Aopen+author%3Alutangar
npm install
cp .env.example .env
docker compose up
npx nx serve backend
npx nx serve frontend
Or both:
npx nx run-many --target=serve
It opens a new tab at http://localhost:3000/. The app will automatically reload if you change any of the source files.
Note: you must manually configure
pgadmin
:
- Right-click Servers > Register > Server...
- Under Connection:
- Host
datatlas-db
- Port:
5432
- Username:
docker
- Password:
docker
https://towardsdatascience.com/how-to-run-postgresql-and-pgadmin-using-docker-3a6a8ae918b5
See app ./apps/frontend/README.md
See API ./apps/backend/README.md
Visit the Nx Documentation to learn more.
Run both prettier
and eslint
:
npx nx format:write --base=origin/dev && npx nx run-many --target=lint --base=origin/dev
To update nestjs
and keep in sync all side packages:
npx npm-check-updates --filter "@nestjs/*" -u
Or to update mikro-orm
and friends:
npx npm-check-updates --filter "@mikro-orm/*" -
npm run mikro-orm migration:create
npm run mikro-orm migration:up
Run a single test file:
npx nx run backend-e2e:e2e --spec apps/backend-e2e/src/e2e/user.cy.ts
See https://github.com/cypress-io/cypress/issues/2610#issuecomment-1319738814
Output test results to a log file for debugging purpose:
npx nx run backend-e2e:e2e --spec apps/backend-e2e/src/e2e/user.cy.ts &> cypress.log
See Cypress documentation : https://github.com/nrwl/nx/tree/master/packages/cypress/docs
You can deploy the datatlas stack on a kubernetes cluster using the provided helm chart.
Copy the helm/example.values.yaml
file to values.yaml and edit it to fit your needs.
Then run the following command to deploy the stack:
helm install datatlas ./helm --create-namespace --namespace datatlas
DatAtlas was created by Erasme, the open innovation lab of Lyon π«π· metropolitan area. It's a part of the larger DatAgora initiative.
This project was supported by the France Relance economic recovery plan.
Figma sketch was made by SiaPartners.