Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 711 Bytes

File metadata and controls

32 lines (23 loc) · 711 Bytes

This is a simple directory structure wrapped around create-react-app-typescript, which also includes a node server. You can run everything by doing:

yarn install
yarn run start

This builds create-react-app-typescript, and proxies requests to the node server. Any changes to the client will be handled by create-react-app and you still get hot module reloading.

Any changes to the server will cause the server to restart so you can test API changes.

Run tests for client & server:

yarn run test

To deploy your app to heroku:

heroku login
heroku create

Then, update client/package.json's "homepage" property to be the name of your heroku URL. Finally:

yarn deploy