{"id":50349559,"url":"https://github.com/armandwipangestu/gis-ui","last_synced_at":"2026-05-29T20:30:45.685Z","repository":{"id":332317219,"uuid":"1108406498","full_name":"armandwipangestu/gis-ui","owner":"armandwipangestu","description":"GIS Application built using React.js + Golang (https://github.com/armandwipangestu/gis-api)","archived":false,"fork":false,"pushed_at":"2025-12-09T18:43:24.000Z","size":235,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T12:29:16.778Z","etag":null,"topics":["axios","docker","docker-compose","gis","openstreetmap","osm","reactjs","tanstack-query","vitejs"],"latest_commit_sha":null,"homepage":"https://gis.home.internal","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/armandwipangestu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-02T12:07:24.000Z","updated_at":"2025-12-09T18:43:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/armandwipangestu/gis-ui","commit_stats":null,"previous_names":["armandwipangestu/gis-ui"],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/armandwipangestu/gis-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armandwipangestu%2Fgis-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armandwipangestu%2Fgis-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armandwipangestu%2Fgis-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armandwipangestu%2Fgis-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/armandwipangestu","download_url":"https://codeload.github.com/armandwipangestu/gis-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armandwipangestu%2Fgis-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33670211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["axios","docker","docker-compose","gis","openstreetmap","osm","reactjs","tanstack-query","vitejs"],"created_at":"2026-05-29T20:30:45.617Z","updated_at":"2026-05-29T20:30:45.680Z","avatar_url":"https://github.com/armandwipangestu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eAn application frontend for backend \u003ca href=\"https://github.com/armandwipangestu/gis-api\"\u003ehttps://github.com/armandwipangestu/gis-api\u003c/a\u003e\u003c/h1\u003e\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![Vite.js](https://img.shields.io/badge/-Vite.js-F9FAFC?style=for-the-badge\u0026logo=vite)\u0026nbsp;\n![React.js](https://img.shields.io/badge/-React.js-F9FAFC?style=for-the-badge\u0026logo=react)\u0026nbsp;\n![TanStack Query](https://img.shields.io/badge/-TanStack%20Query-131821?style=for-the-badge\u0026logo=tanstack)\u0026nbsp;\n![OpenStreetMap](https://img.shields.io/badge/-OpenStreetMap-131821?style=for-the-badge\u0026logo=openstreetmap)\u0026nbsp;\n![Docker](https://img.shields.io/badge/-Docker-F9FAFC?style=for-the-badge\u0026logo=docker)\u0026nbsp;\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003eA GIS Application built using React.js, TanStack Query, Axios, OpenStreetMap, and Golang as Backend\u003c/p\u003e\n\n---\n\n## Table of Contents\n\n-   [Features](#features)\n-   [Requirements](#requirements)\n-   [Project Structure](#project-structure)\n-   [Running the Application](#running-the-application)\n    -   [Development Mode](#development-mode)\n    -   [Running with Docker](#running-with-docker)\n    -   [Running with Docker Compose](#running-with-docker-compose)\n\n---\n\n## Features\n\n-   Authentication (cookies + jwt)\n-   RBAC (Role-Based Action Control)\n-   Components, Hooks, Types (Reusable, Caching, Static Typing)\n-   Support build manual, and Docker image\n\n## Requirements\n\n-   Node.js 20+\n-   NPM 10+\n-   Git\n-   Docker \u0026 Docker Compose (optional)\n\n## Project Structure\n\n```bash\n. gis-ui\n├── CHANGELOG.md\n├── docker-compose.yml\n├── Dockerfile\n├── eslint.config.js\n├── index.html\n├── nginx.conf\n├── package-lock.json\n├── package.json\n├── public\n│  └── vite.svg\n├── README.md\n├── src\n│  ├── App.css\n│  ├── App.tsx\n│  ├── assets\n│  │  └── react.svg\n│  ├── components\n│  │  ├── Admin\n│  │  │  └── Map\n│  │  │     ├── GeometryEditor.tsx\n│  │  │     ├── MapWithGeometryEditor.tsx\n│  │  │     └── RecenterOnProps.tsx\n│  │  ├── App\n│  │  │  ├── Header.tsx\n│  │  │  └── Sidebar.tsx\n│  │  ├── General\n│  │  │  ├── Error.tsx\n│  │  │  ├── Loading.tsx\n│  │  │  ├── Pagination.tsx\n│  │  │  └── TableEmptyRow.tsx\n│  │  └── Public\n│  │     ├── Category\n│  │     │  └── CategoryItem.tsx\n│  │     └── Map\n│  │        └── MapViewer.tsx\n│  ├── hooks\n│  │  ├── admin\n│  │  │  ├── category\n│  │  │  │  ├── useCategories.tsx\n│  │  │  │  ├── useCategoriesAll.tsx\n│  │  │  │  ├── useCategoryCreate.tsx\n│  │  │  │  ├── useCategoryDelete.tsx\n│  │  │  │  ├── useCategoryEdit.tsx\n│  │  │  │  └── useCategoryUpdate.tsx\n│  │  │  ├── dashboard\n│  │  │  │  └── useDashboard.tsx\n│  │  │  ├── map\n│  │  │  │  ├── useMapById.tsx\n│  │  │  │  ├── useMapConfiguration.tsx\n│  │  │  │  ├── useMapCreate.tsx\n│  │  │  │  ├── useMapDelete.tsx\n│  │  │  │  ├── useMaps.tsx\n│  │  │  │  └── useMapUpdate.tsx\n│  │  │  ├── permission\n│  │  │  │  ├── usePermissionById.tsx\n│  │  │  │  ├── usePermissionCreate.tsx\n│  │  │  │  ├── usePermissionDelete.tsx\n│  │  │  │  ├── usePermissions.tsx\n│  │  │  │  ├── usePermissionsAll.tsx\n│  │  │  │  └── usePermissionUpdate.tsx\n│  │  │  ├── role\n│  │  │  │  ├── useRoleAll.tsx\n│  │  │  │  ├── useRoleById.tsx\n│  │  │  │  ├── useRoleDelete.tsx\n│  │  │  │  ├── useRoles.tsx\n│  │  │  │  ├── useRoleUpdate.tsx\n│  │  │  │  └── useRouteCreate.tsx\n│  │  │  ├── setting\n│  │  │  │  ├── useSetting.tsx\n│  │  │  │  └── useSettingUpdate.tsx\n│  │  │  └── user\n│  │  │     ├── useUserById.tsx\n│  │  │     ├── useUserCreate.tsx\n│  │  │     ├── useUserDelete.tsx\n│  │  │     ├── useUsers.tsx\n│  │  │     └── useUserUpdate.tsx\n│  │  └── public\n│  │     ├── category\n│  │     │  └── useCategories.tsx\n│  │     ├── home\n│  │     │  └── useHomeData.tsx\n│  │     ├── setting\n│  │     │  └── useSetting.tsx\n│  │     └── sidebar\n│  │        ├── useMediaQuery.tsx\n│  │        └── useSidebarBreakpointSync.tsx\n│  ├── index.css\n│  ├── layouts\n│  │  └── AppLayout.tsx\n│  ├── main.tsx\n│  ├── routes\n│  │  └── index.tsx\n│  ├── services\n│  │  └── api.ts\n│  ├── stores\n│  │  ├── auth.ts\n│  │  └── sidebar.ts\n│  ├── types\n│  │  ├── auth.ts\n│  │  ├── category.ts\n│  │  ├── dashboard.ts\n│  │  ├── map.ts\n│  │  ├── params.ts\n│  │  ├── permission.ts\n│  │  ├── role.ts\n│  │  ├── setting.ts\n│  │  └── user.ts\n│  ├── utils\n│  │  ├── geojson.ts\n│  │  └── permissions.ts\n│  ├── views\n│  │  ├── admin\n│  │  │  ├── categories\n│  │  │  │  ├── create.tsx\n│  │  │  │  ├── edit.tsx\n│  │  │  │  └── index.tsx\n│  │  │  ├── dashboard\n│  │  │  │  └── index.tsx\n│  │  │  ├── forbidden\n│  │  │  │  └── index.tsx\n│  │  │  ├── maps\n│  │  │  │  ├── create.tsx\n│  │  │  │  ├── edit.tsx\n│  │  │  │  └── index.tsx\n│  │  │  ├── permissions\n│  │  │  │  ├── create.tsx\n│  │  │  │  ├── edit.tsx\n│  │  │  │  └── index.tsx\n│  │  │  ├── roles\n│  │  │  │  ├── create.tsx\n│  │  │  │  ├── edit.tsx\n│  │  │  │  └── index.tsx\n│  │  │  ├── settings\n│  │  │  │  └── index.tsx\n│  │  │  └── users\n│  │  │     ├── create.tsx\n│  │  │     ├── edit.tsx\n│  │  │     └── index.tsx\n│  │  ├── auth\n│  │  │  └── login.tsx\n│  │  └── public\n│  │     └── home\n│  │        └── index.tsx\n│  └── vite-env.d.ts\n├── tsconfig.app.json\n├── tsconfig.json\n├── tsconfig.node.json\n└── vite.config.ts\n```\n\n## Running the Application\n\n### Development Mode\n\n1. Clone Repository \u0026 Install dependencies\n\n```bash\ngit clone https://github.com/armandwipangestu/gis-ui \u0026\u0026 cd gis-ui\nnpm install\n```\n\n2. Setup Environment Variable\n\n```bash\ncp .env.example .env.local\n```\n\nFill with your own configuration\n\n```bash\nVITE_BASE_URL=http://localhost:3000\n```\n\n3. Running the application\n\n\u003e [!NOTE]\n\u003e Access the UI at http://localhost:5173\n\n```bash\nnpm run dev\n```\n\n### Running with Docker\n\n1. Build the image\n\n```bash\ndocker build --build-arg VITE_BASE_URL=http://gis-api:3000 -t gis-ui .\n```\n\n2. Run the image\n\n```bash\ndocker run --rm -p 5173:80 gis-ui\n```\n\n### Running with Docker Compose\n\n1. Copy the `.env.example`\n\n```bash\ncp .env.example .env.local\n```\n\n2. Fill the value of `.env.local` with your own configuration\n\n```bash\nVITE_BASE_URL=http://localhost:3000\n```\n\n3. Runing the application using compose\n\n```bash\ndocker compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmandwipangestu%2Fgis-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmandwipangestu%2Fgis-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmandwipangestu%2Fgis-ui/lists"}