This starter kit provides a great out of the box starting point for developers who are looking to develop a website in Typescript using the following technologies:
- Typescript 3 - https://www.typescriptlang.org/
- Webpack 4 - https://webpack.js.org/
- Express - https://expressjs.com/
- React Hot Module Reload - https://github.com/gaearon/react-hot-loader
- React 16 - https://reactjs.org/
- React Router 5 - https://reacttraining.com/react-router/
- NodeJS 12 LTS - https://nodejs.org
- Yarn - https://yarnpkg.com
- Semantic UI React - https://react.semantic-ui.com/
- Docker - https://www.docker.com/
- Visual Studio Code - https://code.visualstudio.com/
- Circle CI Builds - https://circleci.com
You must have Yarn installed globally to use this project:
To do this run
npm install yarn -g
"Launch Dev" will run the application with debugging and "Launch Chrome" will then run Chrome with browser debugging enabled in VSCode.
yarn install
yarn run dev
yarn install
yarn run prod:build
yarn run prod:run
docker build -t react-typescript-fullstack .
Ensure that as part of the build, you have a context called "Docker Credentials" configured against your Circle CI account, with DOCKER_USER and DOCKER_PASS defined as your dockerhub username and password.
This starter kit will automatically build in Circle CI and get pushed to Docker Hub to provide an example of how to do this. The docker hub link is as follows: https://hub.docker.com/r/mrgeoffrich/react-typescript-fullstack/