Skip to content

jfroom/poc-react-minesweeper

Repository files navigation

POC-React-Minesweeper Build Status

React Minesweeper proof-of-concept project. Built mainly to get familiar with the React framework & ecosystem.

Demo: https://jfroom.github.io/poc-react-minesweeper

Demo animated gif

Technologies

Getting Started

Required

  1. Install Docker 17.03.0-ce+. This should also install Docker Compose 1.11.2+.
  2. Verify versions: docker -v; docker-compose -v;

First run

docker-compose build Builds images.

Usage

Development

docker-compose up Starts web server.

open http://localhost:3000/ Loads default page into local browser.

docker-compose exec web yarn lint Run linter, stays open with watch.

Test

docker-compose exec web yarn test Run test suite, stays open with watch.

Jest test results

Build

docker-compose exec web yarn build Create production build of static files.

docker-compose exec web yarn serve-build Serve the build locally.

Additional References