Skip to content

A fullstack ssr template, write all of the fullstack code in one project(NestJS + React)

License

Notifications You must be signed in to change notification settings

MrWangJustToDo/fullstack-nest-react-ssr-template

Repository files navigation

fullstack react ssr template

all write by typescript

a new version of template has coming, for now, the project have backendfrontendpackages three part of directories.

  1. backend, a pure NestJS app, you can write all the backend code on this directory
  2. frontend, a ssr template which from react-ssr-template
  3. packages, a directory can put all of the shared module

use

  1. install
pnpm install
  1. prepare
pnpm run build:packages
  1. for dev
pnpm run dev:backend;
pnpm run dev:frontend;
  1. for build
pnpm run build:backend
pnpm run build:frontend / pnpm run build:frontend_static
  1. for prod
pnpm run start:frontend

you can visit the .env file, ssr is support by default, or you can just use csr by set en variable.

more about this project, you can see the source code of just ask me for help ^_^ !

About

A fullstack ssr template, write all of the fullstack code in one project(NestJS + React)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published