/connect-four

Primary LanguageJavaScriptMIT LicenseMIT

connect-four

Quick Start

Server

npm run install

Install server dependencies.

npm start

Start server at port 4000 by default.

npm run test

Runs the app test.

Client

yarn install

Install the client dependencies.

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.

yarn run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

Docker

docker-compose build

Builds both applications.

docker-compose up -d

Runs both containers.
Server will run at http://localhost:4000.
Client will run at http:localhost:3000.