geongeorge / Nest-Remixed

Single server NestJS starter with Remix frontend.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Remixed

NestJS starter with Remix frontend. This repo is a yarn workspace with two packages: server and remix

Features

  • Remix js HMR
  • Watch mode for NestJS
  • One server for both frontend and backend
  • Yarn workspace

Installation

yarn

Running the app

yarn dev

Route configuration

  • All /api routes go to Nest js
  • All /build and /assets is served by nest from /remix/public
  • All other routes go to Remix

References

Assets

Because we use nest to serve remix and both have a concept of assets, We are going to serve assets using our nest js server. But the asset should be placed in /remix/public/assets folder.

About

Single server NestJS starter with Remix frontend.


Languages

Language:TypeScript 81.1%Language:JavaScript 18.9%