This is the repository that holds the client-side code for our CS 408 Project, Tug of Words
We will be using yarn rather than npm for dependency management.
- First clone the repo
git clone <project_url>
- cd into the project directory, then install the dependencies
yarn install
- To start the development server run
yarn start
- Note that the server automatically refreshes when you make changes
- Always consult the team before adding a new dependency. If it is something small, you should write your own module instead of adding to the list of dependencies
yarn add <dependency_name>
- To add a developer dependency (such as testing framework)
yarn add <dependency_name> --dev
- Never remove a dependency you did not install yourself. Again, consult the team before removing a dependency.
yarn remove <dependency_name>
- Please follow the guidelines suggested here
- If you are interested in reading more about react, here is a good compilation of resources
- To run tests:
yarn test
We are using eslint with enforced styles defined by Airbnb
- To lint the entire code:
yarn lint
- You will not be able to commit code unless it passes the linter checks
Our deployed project can be found at https://tugofwords.herokuapp.com/
The buggy version of our project can be found at http://bugofwords.herokuapp.com/