react-template

Get Started

Development using Docker

  1. Move to repository root path.
cd ${REPOSITORY_ROOT}
  1. Create environment file.
cp .env.sample .env
  1. Build app
docker-compose -f docker-compose.local.yaml build app
  1. Start app
docker-compose -f docker-compose.local.yaml up -d app
  1. Install dependencies
docker-compose -f docker-compose.local.yaml exec app npm install
  1. Run app
docker-compose -f docker-compose.local.yaml exec app npm run start:dev
  1. Show app

Please access to localhost:8080, you can see that the app is running.