Trance Stack

screenshot of Trance Stack
react
remix
vite

A production-ready Remix stack built for AWS Lambda. Authentication. Security, Internationalization, Feature Flags, Analytics, Tests, Storybook, Ephemeral and Production CI/CD and more.

Overview

The TRANCE STACK Storybook is a Remix stack designed to ship production-ready Remix applications. It provides an opinionated starting point for Remix projects, with good security practices, internationalization support, authentication, feature flags, error tracking, and more. The stack also includes tools for component development, testing, linting, and automated versioning and release management.

Features

  • Good security practices with Content Security Policy (CSP) and sensible authentication processes
  • Internationalization support with i18next and its Remix integration remix-i18next
  • Auth0 for authentication
  • PostHog for feature flags
  • Sentry for client-side error tracking (server side coming soon)
  • Custom-built cookie consent banner for maximum security
  • Analytics integrations with PostHog, Hotjar, and Google Analytics v4
  • Static Types with TypeScript
  • Linting with ESLint
  • Unit testing with Vitest and Testing Library
  • End-to-End testing with Playwright
  • Conventional Commits for commit messages to enable automated versioning
  • Semantic-release for automatic release management
  • Storybook v7 for component development
  • NPM for package management (support for yarn and pnpm coming soon)
  • GitHub Actions for a full CI setup
  • AWS deployment with CDK via GitHub Actions
  • Using AWS Lambda + API Gateway + Cloud Front for production builds
  • Using AWS Lambda + API Gateway for ephemeral builds (feature branches, pull requests, etc)
  • Automatic dependency updates with Renovate

Summary

The TRANCE STACK Storybook is a comprehensive Remix stack for building production-ready Remix applications. It provides a solid foundation with features like security practices, internationalization support, authentication, error tracking, and more. The stack also includes tools for component development, testing, linting, and automated versioning and release management. With its integration with GitHub Actions and AWS, the stack offers a seamless CI/CD workflow.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

remix
Remix

Remix is a modern JavaScript framework that focuses on building fast and performant web applications. It emphasizes a combination of server-rendered content and client-side interactivity, offering a robust architecture for creating scalable and maintainable projects.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

Storybook

Storybook is a tool for developing and testing UI components in isolation. It provides a sandbox environment where you can experiment with different props and states to see how your component responds.

Stylelint

Stylelint is a modern linter for CSS that helps you avoid errors and enforce consistent styling conventions. It provides rules for detecting errors and warnings, and can be configured to match your specific project's requirements.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.