Nest Remixed

screenshot of Nest Remixed

Single server NestJS starter with Remix frontend.

Overview

Nest Remixed is an innovative starter kit that combines the powerful backend capabilities of NestJS with the modern frontend features of Remix. This setup is designed as a yarn workspace encompassing both a server and a Remix application, creating a seamless development environment. By streamlining the development process, developers can focus on building robust applications without worrying about configuring multiple servers or complex routing mechanisms.

Leveraging the strengths of both frameworks, Nest Remixed allows for efficient development with features like hot module replacement (HMR) and simplified asset management. This combination not only improves productivity but also enhances the overall performance of web applications.

Features

  • Remix js HMR: Enjoy real-time updates during development with hot module replacement, making it easier to see changes without refreshing the browser.
  • Watch Mode for NestJS: Automatically rebuild and refresh your NestJS backend whenever changes are detected, streamlining the development workflow.
  • Single Server for Frontend and Backend: Run both your frontend (Remix) and backend (NestJS) on a single server, simplifying deployment and management.
  • Yarn Workspace: Take advantage of the yarn workspace structure to manage dependencies and workspaces more effectively within a single repository.
  • API Route Configuration: All API routes are directed to the NestJS server, ensuring a clear separation of concerns and organized route handling.
  • Simplified Asset Management: Serve static assets through the NestJS server from the designated /remix/public/assets folder, keeping asset paths clean and manageable.
  • Custom Route Handling: Easily configure custom routes in your application, allowing for flexibility in how requests are processed for both the frontend and backend.