Skip to content

Releases: austeane/solstice

Base production template - before Solstice specific code

03 Jul 14:20

Choose a tag to compare

I've worked to add what I need to the react-tanstarter template.
I'm releasing this updated template before I add app specific code.
My intent here is to put in the effort up front to make a solid foundation for a new app that will be have majority LLM contributions.

Libraries I've added:
Testing:

  • Vitest: For unit and component testing.
  • @testing-library/react: For testing React components.
  • jsdom: To simulate a browser environment for tests.
  • @vitest/coverage-v8: For code coverage reporting.

CI/CD & Automation:

  • GitHub Actions: For continuous integration and deployment workflows.
  • Netlify CLI: Used in your dev script and deployment workflows.
  • Codecov: For tracking test coverage.
  • Husky: For running Git hooks.
  • lint-staged: For running linters on staged files.

Database & Environment:

  • @t3-oss/env-core & Zod: For environment variable validation.
  • @neondatabase/serverless: Specific driver for Neon database.
  • dotenv-expand: For managing environment variables.

What I've improved:

Developer Experience:

  • Comprehensive test setup with watch mode, UI, and coverage reporting
  • Pre-commit hooks ensuring code quality
  • Environment validation with helpful error messages at startup
  • Organized npm scripts by category (dev, test, db, etc.)
  • Dependency management with taze

Production Readiness:

  • CI/CD pipelines for automated testing and deployments
  • Preview deployments for every pull request
  • Secure environment configuration with validation
  • Advanced auth setup with session management
  • Multiple database connection options (pooled/unpooled)

Project Structure:

  • Organized shared utilities and hooks
  • Comprehensive documentation
  • GitHub secrets configuration guide
  • Advanced theme system supporting light/dark/system modes

This enhanced template provides a solid foundation for building production-ready applications with modern best practices baked in from the start.