@hatchifyjs/create
v0.1.17
Published
## Scaffolding Your First HatchifyJS Project
Downloads
29
Readme
create-hatchifyjs
Scaffolding Your First HatchifyJS Project
Compatibility Note: HatchifyJS requires Node.js version 18 or above.
With NPM:
npm init @hatchifyjs@latest
With Yarn:
yarn create @hatchifyjs@latest
With PNPM:
pnpm create @hatchifyjs@latest
With Bun:
bunx @hatchifyjs/create@latest
Then follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Hatchify + Koa + SQLite project, run:
# npm 7+, extra double-dash is needed:
npm create @hatchifyjs/create hatchify-app -- --frontend=react --backend=koa --database=sqlite://localhost/:memory
# yarn
yarn create @hatchifyjs/create hatchify-app --frontend=react --backend=koa --database=sqlite://localhost/:memory
# pnpm
pnpm create @hatchifyjs/create hatchify-app --frontend=react --backend=koa --database=sqlite://localhost/:memory
# Bun
bunx @hatchifyjs/create hatchify-app --frontend=react --backend=koa --database=sqlite://localhost/:memory
You can use .
for the project name to scaffold in the current directory.