This is an example application created for the article Prototyping and data modeling in the browser using TypeScript.
You can find a deployed demo version here: https://example-typescript-prototype.netlify.app/
Make sure you have Node.js installed (for example using nvm).
Clone this repository, then install dependencies with:
npm install
Run the development server with:
npm run dev
Type-check source files (without building) with:
npm run typecheck
Format source files using:
npm run prettier
To generate a random ID to use for new sample data, run:
npm run nanoid
To regenerate random responses for the sample data, run:
npm run generate-responses
Build for production using:
npm run build
Preview the build locally with:
npm run preview
This repository is automatically deployed to Netlify.