Skip to content

searchfe/hoth

Repository files navigation

hoth

A Node.js framework based on fastify

npm version downloads Build Status Coverage Status semantic-release

2.0

support Fastify v5.x

Requirements

  • 1.0: Node.js v14 or later.
  • 2.0: Node.js v20 or later.

Install

npm install @hoth/cli --global

Quick start

Create a project:

hoth generate myproj

project types

  • Normal(with fastify-decorators): example
  • Vue SSR App: normal template with vue 3.0 ssr
  • San SSR App: normal template with san ssr

Install dependencies:

npm install

To start the service in dev mode:

npm run dev

Development

Preparation

pnpm i
pnpm run build

Debug

# debug for example
cd example/hoth-quickstart

# link to packages
pnpm i ./

# run dev
pnpm run dev

release

pnpm release