# πŸŽ‡ Starter projects
_Gracile_. A thin, full-stack, **web** framework. **Features**: - Portable **HTML**, **CSS** and **JS**, thanks to **Lit (SSR)**. - Highly responsive during dev. and build, thanks to **Vite**. - **Minimal dependency footprint** for its **runtime** and your **distributable**. - Embrace web standards like **Custom Elements** (aka Web Components) or the **WhatWG Fetch** API. - A streamlined **D**eveloper e**X**perience for building, instead of fiddling around. --- **Starters**: - [Basics](#basics) - [Minimal setup (static)](#minimal-setup-static) - [Minimal setup (Bootstrap/Tailwind)](#minimal-setup-bootstraptailwind) - [Minimal setup with various kinds of test suites.](#minimal-setup-with-various-kinds-of-test-suites) - [Minimal setup (HTML/CSS minification)](#minimal-setup-htmlcss-minification) - [Minimal setup for client routing (SPA)](#minimal-setup-for-client-routing-spa) - [Minimal server (Express)](#minimal-server-express) - [Minimal server (Hono)](#minimal-server-hono)
## Basics Get up and running with this all around demo of Gracile features. - βœ… Minimal styling (make it your own!) - βœ… SEO-friendly with canonical URLs and OpenGraph data - βœ… Sitemap support - βœ… Markdown support - βœ… SVG support - βœ… Server-rendered Lit Elements --- πŸ“₯ **CLI**: ```sh npm create gracile@latest -t basics ```
[![Edit in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/gracile-web/starter-projects/tree/main/templates/basics?embed=1)      [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/gracile-web/starter-projects/tree/main/templates/basics)
⏬ **Download**: ```sh npx degit gracile-web/starter-projects/templates/basics my-project ``` πŸ“‘ **Sources**: [basics](https://github.com/gracile-web/starter-projects/tree/main/templates/basics)
## Minimal setup (static) A statically generated project. πŸ“₯ **CLI**: ```sh npm create gracile@latest -t minimal-static ```
[![Edit in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/gracile-web/starter-projects/tree/main/templates/minimal-static?embed=1)      [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/gracile-web/starter-projects/tree/main/templates/minimal-static)
⏬ **Download**: ```sh npx degit gracile-web/starter-projects/templates/minimal-static my-project ``` πŸ“‘ **Sources**: [minimal-static](https://github.com/gracile-web/starter-projects/tree/main/templates/minimal-static)
## Minimal setup (Bootstrap/Tailwind) A project with popular vendors CSS preconfigured. πŸ“₯ **CLI**: ```sh npm create gracile@latest -t minimal-bootstrap-tailwind ```
[![Edit in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/gracile-web/starter-projects/tree/main/templates/minimal-bootstrap-tailwind?embed=1)      [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/gracile-web/starter-projects/tree/main/templates/minimal-bootstrap-tailwind)
⏬ **Download**: ```sh npx degit gracile-web/starter-projects/templates/minimal-bootstrap-tailwind my-project ``` πŸ“‘ **Sources**: [minimal-bootstrap-tailwind](https://github.com/gracile-web/starter-projects/tree/main/templates/minimal-bootstrap-tailwind)
## Minimal setup with various kinds of test suites. Browser (Playwright), Unit tests (Node). **Available commands** ```sh test:unit test:unit:dev test:integration test:integration:dev test:component test:component:dev test:e2e test:e2e:dev test:all ``` --- πŸ“₯ **CLI**: ```sh npm create gracile@latest -t minimal-testing ```
[![Edit in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/gracile-web/starter-projects/tree/main/templates/minimal-testing?embed=1)      [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/gracile-web/starter-projects/tree/main/templates/minimal-testing)
⏬ **Download**: ```sh npx degit gracile-web/starter-projects/templates/minimal-testing my-project ``` πŸ“‘ **Sources**: [minimal-testing](https://github.com/gracile-web/starter-projects/tree/main/templates/minimal-testing)
## Minimal setup (HTML/CSS minification) Static/server and dev/build with minified CSS+HTML. πŸ“₯ **CLI**: ```sh npm create gracile@latest -t minimal-minification ```
[![Edit in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/gracile-web/starter-projects/tree/main/templates/minimal-minification?embed=1)      [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/gracile-web/starter-projects/tree/main/templates/minimal-minification)
⏬ **Download**: ```sh npx degit gracile-web/starter-projects/templates/minimal-minification my-project ``` πŸ“‘ **Sources**: [minimal-minification](https://github.com/gracile-web/starter-projects/tree/main/templates/minimal-minification)
## Minimal setup for client routing (SPA) Client-side routing demo, with hydration, for any mode. πŸ“₯ **CLI**: ```sh npm create gracile@latest -t minimal-client-routing ```
[![Edit in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/gracile-web/starter-projects/tree/main/templates/minimal-client-routing?embed=1)      [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/gracile-web/starter-projects/tree/main/templates/minimal-client-routing)
⏬ **Download**: ```sh npx degit gracile-web/starter-projects/templates/minimal-client-routing my-project ``` πŸ“‘ **Sources**: [minimal-client-routing](https://github.com/gracile-web/starter-projects/tree/main/templates/minimal-client-routing)
## Minimal server (Express) A Gracile handler, already set up with Express and static file serving. πŸ“₯ **CLI**: ```sh npm create gracile@latest -t minimal-server-express ```
[![Edit in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/gracile-web/starter-projects/tree/main/templates/minimal-server-express?embed=1)      [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/gracile-web/starter-projects/tree/main/templates/minimal-server-express)
⏬ **Download**: ```sh npx degit gracile-web/starter-projects/templates/minimal-server-express my-project ``` πŸ“‘ **Sources**: [minimal-server-express](https://github.com/gracile-web/starter-projects/tree/main/templates/minimal-server-express)
## Minimal server (Hono) A Gracile handler, already set up with Hono and static file serving. πŸ“₯ **CLI**: ```sh npm create gracile@latest -t minimal-server-hono ```
[![Edit in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/gracile-web/starter-projects/tree/main/templates/minimal-server-hono?embed=1)      [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/gracile-web/starter-projects/tree/main/templates/minimal-server-hono)
⏬ **Download**: ```sh npx degit gracile-web/starter-projects/templates/minimal-server-hono my-project ``` πŸ“‘ **Sources**: [minimal-server-hono](https://github.com/gracile-web/starter-projects/tree/main/templates/minimal-server-hono)
--- - [Documentation website (gracile.js.org)](https://gracile.js.org/) - [Documentation website repository](https://github.com/gracile-web/website) --- > β€œPerfection is achieved, not when there is nothing more to add, > but when there is nothing left to take away.” > > ― [Antoine de Saint-ExupΓ©ry](https://en.wikipedia.org/wiki/Antoine_de_Saint-Exup%C3%A9ry), _Airman's Odyssey_