Skip to content

TugOfWords/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tug-of-words-server

This is the repository that holds the server-side code for our CS 408 Project, Tug of Words


Development

We will be using yarn rather than npm for dependency management.

Running the server

  • 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

Adding a dependency

  • 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

Removing a dependency

  • Never remove a dependency you did not install yourself. Again, consult the team before removing a dependency. yarn remove <dependency_name>

Best Practices

  • Please follow the guidelines suggested here

React Components

  • We will be using predifined components from Semantic-UI

Testing

  • To run tests: yarn test
  • You will not be able to commit code unless it passes all tests

Linting

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

Executable/Public Access URL

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/

About

Server for Tug of Words

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •