minimal-react-ssr-typescript
A minimal sample of server side rendering using typescript + react
❯ Getting Started
Step 1: Set up the Development Environment
You need to set up your development environment before you can do anything.
Install Node.js and NPM
- on OSX use homebrew
brew install node
- on Windows use chocolatey
choco install nodejs
Install
- Install all dependencies with
yarn install
Running in dev mode
- Run
yarn start
- The server address will be displayed to you as
http://0.0.0.0:3000
Building the project and run it
- Run
yarn build
to generated all JavaScript files from the TypeScript sources. - the builded app located in
dist
.