Skip to content

TanguyDucky/react-sample-app

 
 

Repository files navigation

Dockerized ReactJS application

Docker plus React plus Codefresh

This is an example Node application that uses React, Yarn and Docker. It is packaged using Codefresh.

More details can be found in the documentation page.

Instructions

To install dependencies

yarn install 

or

npm install 

To run tests

yarn test 

or

npm test 

To run the webapp manually

yarn start 

or

npm start 

....and navigate your browser to http://localhost:3000/

To create a docker image

docker build -t my-react-app .

To run the docker image

docker run -p 80:80 my-react-app

To use this project in Codefresh

There is also a codefresh.yml for easy usage with the Codefresh CI/CD platform.

Enjoy!

About

A Node/React example application for Codefresh pipelines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.9%
  • HTML 17.6%
  • CSS 9.7%
  • Dockerfile 2.8%