Skip to content

wirednkod/boilerplate-ssr-express-react-typescript

Repository files navigation

Express/React Typescript Server Side Rendering Boilerplate ⚛️

boilerplate-ssr-express-react-typescript

A boilerplate created using SSR (server-side-rendering)

An up-to-date boilerplate for running server(node/express) and client code (React) with as-less-commands as possible.

What's included:

  • Server-side rendering, data fetching and client-side hydration
  • Dev server with hot reloading styles (nodemon)
  • ESLinter

Initial setup

yarn run init
    Runs all needed commands to install server and client modules

Scripts

yarn start
  Builds and starts the server serving api and static files (production)

yarn run dev
  Starts the server serving api and react files (hot reload)

yarn run dev:server  
  Starts only the api server

yarn run dev:client
  Starts only React

yarn run build
  Builds the TS

yarn run clean
  Removes build files

About

A boilerplate using NodeJs/Express with React - All in typescript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •