This is the repository that holds the server-side code for our CS 408 Project, Tug of Words
We will be using yarn rather than npm for dependency management.
- To run the server simply type the following
node app.js
- I encourage you install nodemon, a package that refreshes the running server when you make changes
yarn global add nodemon
- To run the server with nodemon
nodemon app.js
- 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
- We will be using predifined components from Semantic-UI
- To run tests:
yarn test
- You will not be able to commit code unless it passes all tests
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/