Monorepo template for creating a web application.
- Turborepo x pnpm
- Prettier (w/ prettier-plugin-svelte + prettier-plugin-tailwindcss)
- ESLint (w/ eslint-plugin-import) / CSpell
- lint-staged / husky
- GitHub Actions (Linting + Testing (Validate
href
andsrc
paths)) - Execute
eslint --fix
andprettier
when saving with VS Code
nhost
Local environment test server and production Nhost migration.mockup
[Demo]
A starting point for building a static site.
Tailwind CSS + Vanilla JS + Vitest (Check links + file names)story
Stories for the Svelte Components.
Storybook (w/ Svelte + Tailwind CSS)web
[Demo]
A starting point for building Svelte application.
SvelteKit (w/ Tailwind CSS)
Nhost (w/ Houdini) / Vitest
ui
A stub Svelte component library.tailwind-preset-base
A preset for use withtailwind.config.js
andglobal.css
.eslint-config-custom
eslint
configurations. (w/ prettier-plugin-svelte + eslint-config-[prettier|turbo])
- Change from TypeScript to JavaScript + JSDoc
- Change frontend framework (
apps/web
): Next.js → SvelteKit - Change repository name:
nextjs-template
→webapp-template
pnpm i # Resolve dependency packages and prepare .env files
# Then set up /.env
pnpm build # Build all apps and packages
pnpm dev # Set up file monitoring builds and local servers for development
pnpm lint # eslint + markuplint | prettier --check
pnpm test # Testing
pnpm format # eslint --fix + prettier --write + format project-words.txt
1337
:apps/nhost/
- Hasura3030
: Nhost Dashboard5432
: Postgres8080
: GraphQL Endpoint8025
: MailHog9695
: Hasura Console
5173
:apps/web/
- SvelteKit application6006
:apps/story/
- Storybook8000
:apps/mockup/
- Static site49160
:apps/mockup/
- Express server
If you need to prepare GitHub / Vercel environment, you need to set all environment variables (.env
items) in each service.