# React + Typescript support (create-react-app with typescript template)

**URL:** <https://answers.netlify.com/t/react-typescript-support-create-react-app-with-typescript-template/41054>\
**Category:** Support\
**Tags:** deployment\
**Created:** [July 16, 2021, 3:06am UTC](https://answers.netlify.com/t/react-typescript-support-create-react-app-with-typescript-template/41054 "2021-07-16T03:06:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![dnllowe](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/dnllowe/32/27615_2.png) [@dnllowe](https://answers.netlify.com/u/dnllowe)\
**Post date:** [July 16, 2021, 7:22pm UTC](https://answers.netlify.com/t/react-typescript-support-create-react-app-with-typescript-template/41054/5 "2021-07-16T19:22:22Z")

</div>

Thanks again @coelmay – that put me on the right path.

For future Googlers, my steps to get it working:

1. Simplified my dependencies to be proper npm modules using [Github Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry)
2. Added a `.npmrc` file to my app and committed it, but used an environment variable `NPM_TOKEN` to reference the personal access token created for Github Packages (per [these](https://answers.netlify.com/t/accessing-private-github-package-registry/17199) forum [posts](https://answers.netlify.com/t/using-private-github-packages-with-netlify/6433))
3. Added a `_redirects` file in the `public` folder to handle React Routing [per the docs](https://docs.netlify.com/routing/redirects/).
4. Got rid of the Express.js server and everything works as expected, now.

Thanks!

---

_[View the full topic](https://answers.netlify.com/t/react-typescript-support-create-react-app-with-typescript-template/41054)._
