Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

Latest commit

 

History

History
37 lines (32 loc) · 2.16 KB

README.md

File metadata and controls

37 lines (32 loc) · 2.16 KB

Express React Webpack starter

A starter Webpack 4 configuration for basic projects with Express and React.

Features

  • Build single page web apps with typescript.

Dependencies

Development

Usage

  • Install dependencies: yarn install
  • Build application (both frontend and backend in http://localhost:8080): yarn build
    • Some browser automatically redirects you to https so make sure to disable the automatic redirect
  • Watch for changes and build application: yarn build-watch
  • Build frontend, watch for changes and hot reload (port 8000): yarn build-hot-reload
    • All the backend requests will be forwarded to port 8080 so you need to run the backend
  • Run application (port 8080): yarn start
  • Run tests: yarn test
  • Remove all the generated files: yarn clean

Useful links