Giter Site home page Giter Site logo

mrwangjusttodo / fullstack-nest-react-ssr-template Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 1.0 1.01 MB

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

License: MIT License

JavaScript 1.78% TypeScript 98.11% SCSS 0.11%
dynamic-router nestjs-backend preload react react-18-stream ssr typescript webpack

fullstack-nest-react-ssr-template's Introduction

fullstack react ssr template

all write by typescript

a new version of template has coming, for now, the project have backendใ€frontendใ€packages 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 ^_^ !

fullstack-nest-react-ssr-template's People

Contributors

hengwangsay avatar mrwangjusttodo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

chaimagharbi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.