Kickstart is a boilerplate project designed for quickly starting SSR-powered web applications using
- Node.js with Fastify
- Preact
- Vite
- TailwindCSS
Node.js and pnpm.
-
Clone the repository:
git clone [email protected]:janerikbr/kickstart.git kickstart cd kickstart
-
Install dependencies:
pnpm install
-
Kickstart your new project:
pnpm kickstart
This will prompt you for a project name and then create the project.
-
Start the development server:
pnpm dev
Work in progress.
-
Build the client and server:
pnpm build
This will create the following directories:
dist/client/
: Contains the client-side assets (HTML, CSS, JavaScript).dist/server/
: Contains the server-side code.
-
Start the server:
pnpm start
This will start the Node.js server. Make sure you have built the project first.