{"id":19411584,"url":"https://github.com/suizer98/deckglgis","last_synced_at":"2026-02-13T11:12:59.243Z","repository":{"id":256133491,"uuid":"847169324","full_name":"Suizer98/DeckGLGIS","owner":"Suizer98","description":"A project to show POC of volume computation for open pit mine 3D model using web technologies.","archived":false,"fork":false,"pushed_at":"2024-11-07T09:03:14.000Z","size":27492,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-07T10:18:49.598Z","etag":null,"topics":["3d-models","deckgl","django","docker","geoserver","geospatial","geotiff","gis","postgis","reactts"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Suizer98.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-25T03:47:50.000Z","updated_at":"2024-11-07T09:03:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"4db0cd49-db1b-4ae8-ab11-3362c5a408e8","html_url":"https://github.com/Suizer98/DeckGLGIS","commit_stats":null,"previous_names":["suizer98/deckglgis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2FDeckGLGIS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2FDeckGLGIS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2FDeckGLGIS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Suizer98%2FDeckGLGIS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Suizer98","download_url":"https://codeload.github.com/Suizer98/DeckGLGIS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223950485,"owners_count":17230484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-models","deckgl","django","docker","geoserver","geospatial","geotiff","gis","postgis","reactts"],"created_at":"2024-11-10T12:22:08.273Z","updated_at":"2026-02-13T11:12:54.223Z","avatar_url":"https://github.com/Suizer98.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeckGLGIS\n\nA project to show POC of 3D open pit mine model's volume computation in ReactTS + DeckGL Web app for CrystallBall company. Backend is comprise of Django + Geoserver + Postgres.\n\nDemo GIF here:\n\n![Demo](demo.gif)\n\nFrontend:\n\n![Tech stacks](https://skillicons.dev/icons?i=vite,ts,react,tailwindcss,css,html,docker,ubuntu,bash,npm)\n\nBackend:\n\n![Tech stacks](https://skillicons.dev/icons?i=python,django,postgres,docker,ubuntu,bash)\n\n## Local developments\n\nIn the project directory, you can either prepare below for local developments:\n\n1. Node.js\n2. Docker Desktop + wsl2 (Ubuntu recommended)\n\n### NPM commands\n\nRuns the app in the development mode. Open [http://localhost:3000/](http://localhost:3000/) to view it in the browser.\n\n```\nnpm install\nnpm run dev\n```\n\nThe page will reload if you make edits.\nYou will also see any lint errors in the console.\n\n### Typing issues message\n\nThe `Vite Checker` is constantly checking if any typing issues exist in\nour TypeScript codes by prompting messages in runtime.\n\n### Found issues in code style?\n\nTo fix all formatting and linting using `prettier`:\n\n```\nnpm run format\n```\n\n### Check if build error exists?\n\nTo see if any errors prevent production build compilation:\n\n```\nnpm run build\n```\n\n### Prepare enviroment variables for app use\n\nTo define env, create an `.env` file:\n\n`VITE_APP_API_BASE_PATH`: The backend api to point to, for example `http://localhost:8000/api`\n\n`VITE_APP_API_GEOSERVER`: Point to `http://localhost:8080/geoserver/`\n\n### Generating code from the OpenAPI 3.0 schemas of the backends\n\nTo ensure that we test consistent with the latest backend changes, we grab the latest apis via its provided OpenAPI 3.0 spec.\n\n#### Generating mocks from the backend using `openapi client generator`\n\nCommand below will ensure that we have up-to-date mocks of the backend:\n\n```\nnpm run gnerate-api\n```\n\n## Docker compose commands\n\nIf you have Docker Desktop or relavant installed on your machine, you can run:\n\n```\ndocker-compose up --build\ndocker compose exec deckglgis npx prettier --cache --write .\n```\n\n### Running full profile backend\n\nFirst fetch the backend as submodule:\n\n```\ngit submodule init\ngit submodule update\n```\n\nThen, make sure you create appropriate env files for both frontend and backend,\nin their respective folder and run full profile build:\n\n```\ndocker-compose --profile full up --build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuizer98%2Fdeckglgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuizer98%2Fdeckglgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuizer98%2Fdeckglgis/lists"}