/hyperdrive-frontend-starter

Starter repo for building a Hyperdrive frontend

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Hyperdrive Starter Monorepo

This is a starter monorepo for building frontends or TypeScript packages that interact with the Hyperdrive protocol.

Using this repo

Run the following command:

yarn

Frontend Installation

Copy the .env.sample to .env and add your API keys.

Run the frontend locally:

yarn workspace hyperdrive-ui run dev

Build for production:

yarn workspace hyperdrive-ui run build 

Core pacakge Installation

Build for production:

yarn workspace @starter-repo/core run build 

What's inside?

This repo includes the following packages and apps:

Apps and Packages

  • frontend: a ViteJS app using React + DaisyUI + Tailwind + RainbowKit + TanStack Router
  • core: An empty TypeScript package to use a starting point for a custom hyperdrive packages
  • eslint-config: shared eslint configurations
  • prettier-config: shared prettier configurations
  • tsconfig: tsconfig.jsons used throughout the monorepo

Each package and app is 100% TypeScript.

Useful resources