Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.51 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.51 KB

This project was bootstrapped with Create React App.

Client

The client configuration is using the socket.io library to communicate with the socket.io on the nodeserver. The Front-End is a React app bootstrapped with Create React App..

Making a new build

In case you modify anything from the existing client src files, run yarn build or npm build to remake the build and see your changes.

The files that are being sent by the server are in client/build.


Available Scripts (for local development)

In the project directory, you can run:

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 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.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Running tests:

We are using react-testing-library for tests. Read more about it here.

You can run the file src/App.test.js by typing: npm test src/App.test.js or yarn test in the Terminal.