Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

nicolashery/example-typescript-prototype

Open more actions menu

Repository files navigation

example-typescript-prototype

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/

Quick start

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

Sample data

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

Deployment

Build for production using:

npm run build

Preview the build locally with:

npm run preview

This repository is automatically deployed to Netlify.

About

Example of prototyping and data modeling in the browser using TypeScript, React, and Redux

Resources

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.