# or pnpm install or yarn install
$ npm i
# installs local development SSL certificates, customize settings in .envrc file
$ npm run prepare
- direnv - autoloads
.envrc
and.envrc.local.sh
(if executable, and is gitignored for local customizations)
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
Same as dev:ssr
but will build production bundles
Builds the app for production to the dist
folder.
You can deploy the dist
folder to any static host.
- TailwindCSS in jit mode
- Uses fastify
- Client related files =>
src/client
, server =>src/server
- Development has valid local signed SSL certificate using
mkcert
running the scriptnpm run prepare
, this will pass for major web browsers. - Production will have no SSL since normally you have a load balancer which terminates SSL.