This is the TypeScript template for Create React App modified by Redditech with (useful) additions for bootstrapping a new project.
antd(Ant Design System)
- adding sample code for components using Atomic Design
- adding sample code for using
REACT_APP_custom environment variables
- adding sample Dockerfile
To use this template, add
--template typescript-redditech when creating a new app.
npx create-react-app my-app --template typescript-redditech# oryarn create react-app my-app --template typescript-redditech
For more information, please refer to:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
A deployment of the generated code is on Github at https://github.com/nissan/cra-redditech
Additionally Docker image can be found at https://hub.docker.com/repository/docker/nissan/cra-redditech
and can be run with
docker run -d --rm -p 8080:80 nissan/cra-redditech
There is also deployed a sample of the base site generated on Azure at https://cra-redditech.azurewebsites.net/
Warning: This does not follow production code best practices
I'm learning by doing, so as much as this is deployed into a production-like environment, it probably isn't production ready from the point of view of following the most scalable or secure practice for deploying. As I learn, it improves, but I welcome the feedback on obvious (and not so obvious) issues with the approaches taken here to get to working code more quickly.