Reference repo for authentication in react-router v7 with middleware, prisma, shadcn and zod v4
Forge 42’s base-stack is a comprehensive starting point designed for developers looking to kick off their projects with a well-structured, modern framework. Built on ESM Vite with Remix.run and React Router v7, it equips developers with a robust foundation that includes a rich set of features and tools. This stack is particularly appealing for those who want to embrace the latest technologies within the React ecosystem while maintaining a focus on best practices for internationalization and efficient development workflows.
By leveraging functionalities like TypeScript and TailwindCSS, this setup aims to streamline both development and styling processes. The inclusion of essential tools such as Vitest for testing and a suite of middleware options makes it an attractive package for building scalable applications. Whether you’re launching a new project or enhancing an existing one, Forge 42’s base-stack promises to provide both flexibility and a high-quality development experience.
ESM Vite Integration: Utilize the state-of-the-art Vite bundler to enable fast builds and hot module replacement, enhancing the overall development experience.
Comprehensive Router Support: Built-in support for react-router v7 allows for elegant routing solutions, making it easy to manage navigation in your application.
Internationalization with i18next: This stack is equipped for seamless multi-language support, allowing for client and server-side translations that enhance user accessibility.
Preconfigured Hono Server: The inclusion of Hono as your server framework, along with react-router-hono-server, simplifies setup and boosts performance with caching and middleware capabilities.
TypeScript and TailwindCSS: Ensures robust type safety and efficient styling methodologies, allowing developers to maintain high code quality and responsive designs.
Automated Testing with Vitest: Streamline your development with built-in unit testing capabilities that help ensure code reliability before production.
SEO Enhancements: Automatically generated robots.txt and sitemap features facilitate better search engine indexing, driving organic traffic to your application.
Environment Variable Handling: Simplified .env parsing and context injection for both client and server environments ensure smooth configuration management throughout development.