abirkholz / react-node-ts-seed

React + NodeJS + Typescript starter project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-node-ts-seed

A react + nodejs + typescript starter project with a module-based structure. This seed is an extrapolation of Facebook's create-react-app. It is modified to include an express server, enable API routing from nodeJS.

Dependencies:

  • NVM
  • typescript node_module installed globally

Commands

# compile the client and server tsx/ts files to js (outputs to ./build)
npm build

# compile client tsx to js
npm run build-client

# compile sass to css
npm run build-css

# compile server ts to js
npm run build-server

# start the app with server (as opposed to client side only)
npm start

# start the app with client server (dev only). Supports hot-reloading
npm run start-client

# start the express server
npm run server

About

React + NodeJS + Typescript starter project


Languages

Language:TypeScript 48.6%Language:CSS 35.8%Language:HTML 15.5%