https://github.com/dannycochran/create-react-app-typescript-node
A light wrapper around create-react-app-typescript which also includes a node server, and easy deployment to Heroku.
https://github.com/dannycochran/create-react-app-typescript-node
create-react-app create-react-app-typescript
Last synced: 4 months ago
JSON representation
A light wrapper around create-react-app-typescript which also includes a node server, and easy deployment to Heroku.
- Host: GitHub
- URL: https://github.com/dannycochran/create-react-app-typescript-node
- Owner: dannycochran
- License: mit
- Created: 2018-03-04T19:45:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-04T19:28:06.000Z (almost 7 years ago)
- Last Synced: 2025-01-03T16:18:56.290Z (6 months ago)
- Topics: create-react-app, create-react-app-typescript
- Language: TypeScript
- Size: 261 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a simple directory structure wrapped around create-react-app-typescript,
which also includes a node server. You can run everything by doing:```sh
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:
```sh
yarn run test
```To deploy your app to heroku:
```sh
heroku login
heroku create
```Then, update client/package.json's "homepage" property to be the name of your heroku
URL. Finally:```sh
yarn deploy
```