Good for:
- fresh start of node back + react front app
- migration from es2015 js code to typescript
Supports both ts and js. Allows mixed imports: js from ts, ts from js.
Absolute path imports starting with 'server/', 'src/', see sample code.
Express and heroku support.
React app, based on react-scripts, with mustache templates for preloaded server values.
Socket.io support.
Please, be careful.
In the project directory, you can run:
Runs the app. Be sure to run yarn build
before.
Open http://localhost to view it in the browser.
Runs the react app in dev mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches mocha tests.
Launches the react test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the react app and the server app.
Builds the react app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.