This project demonstrates core concepts of React development. The Angular version of the application can be found at https://github.com/danwahlin/angular-core-concepts.
The project was bootstrapped with Create React App. You can find additional information on how to perform common tasks here.
Special thanks to Damon Bauer for the initial conversion of my Angular project to React!
-
Install Node.js (https://nodejs.org)
-
Install Yarn
-
Install the application dependencies:
yarn
-
Run the application:
npm start
-
Install the app dependencies (see above) and Docker Community Edition (if you're on Windows 7/8 you'll install Docker Toolbox) - https://docker.com
-
Run
npm run build
-
Run
docker run -d -p 8080:80 -v $(pwd)/build:/usr/share/nginx/html nginx:alpine
-
Visit
http://localhost:8080
in your browser
- Examples of development and production Dockerfiles are available at the root of the project.