This is a template for a fullstack web application. It is laid out as a monorepo composed of 3 packages by default:
- client: Frontend application built with Vite
- server: Backend API built with Hono
- lib: Library containing shared code used in both the client and server
- Node.js v20+
Install dependencies:
pnpm install
Start the app in dev mode:
pnpm dev
Commands can be run in the package workspaces by prefixing the command with the package name.
For example:
pnpm client test
This repository contains a workflow that publishes docker images (client + server) to the specified GCP artifact registry. In order to publish images, the following GitHub Actions variables and secrets need to be set.
IMAGE_REGISTRY: the location of the image registry being published to.
GCP_CREDS: a base64 encoded service account key json file. The service account should have read/write permissions on the artifact registry.