This is an opinionated template for creating scalable web applications using a monorepo architecture without any fancy tooling, just pnpm.
- Clone the repository.
- Set up the environment:
- Run nix-shell to enter a development environment if using nix.
- Run
docker compose upto start the database in/infra.
- Run
pnpm installto install dependencies.
- Follow our error handling patterns, using the
tcutil function and neverthrow results. - Create new schemas in the
dbpackage and follow the pattern of type creation, schema validation, and timestamps. - Add more shadcn components to the
uipackage manually, as needed. - To replace the namespace throughout the project, replace
NEW_NAMESPACEwith your desired name and run:
find . -type f \( -name "*.json" -o -name "*.js" -o -name "*.ts" -o -name "*.tsx" -o -name "*.jsx" -o -name "*.md" -o -name "*.yml" -o -name "*.yaml" -o -name "*.css" \) -not -path "./node_modules/*" -not -path "./.git/*" -exec sed -i 's/@stork/@NEW_NAMESPACE/g; s/\bstork\b/NEW_NAMESPACE/g' {} +- Add a CI/CD pipeline.
- Release versioning.
- Dependency updates (dependabot).
- Add changesets for versioning.
- Add theme switcher (already setup themes).
- Getting started / usage and better "what's included" documentation.