Skip to content

tlinhart/geoman-h3

Repository files navigation

Geoman H3

CI workflow status

Geoman and H3 library demo. It's built with TypeScript and React and uses Vite as a build tool.

Geoman H3 demo!

Usage

Start by cloning the repository and installing the dependencies:

git clone https://github.com/tlinhart/geoman-h3.git
cd geoman-h3
nvm install
npm install

Development Server

To start the development server, run

npm run dev

and open the browser at http://localhost:5173. It has hot module replacement (HMR) enabled and uses a Vite plugin to automatically check the code with TypeScript and Biome.

Production Build

To build the application for production, run

npm run build

To test the production build, run

npm run preview

and point the browser to http://localhost:4173.

Formatting, Linting and Type Checking

To format and lint the files with Biome, issue

npm run biome

To type check the code with TypeScript, run

npm run typecheck

Demo

There is a demo of the application available at http://geoman-h3-demo.linhart.tech. The whole stack is managed with Pulumi IaC and deployed using GitHub Actions.