ClueWords is a board game for 4-8 players. Two teams compete by having a spymaster give one word clue that can point to multiple words on the board. The other players on the team attempt to guess their team’s words while avoiding the words of the other team. This application is built using Node.js, Express.js, React.js, Socket.io, MongoDB and AWS.
- Bonnie Li (Project Lead)
- Karl Secen
- Nicholas Chumney
- Jorawar Singh
- Clone the repository
- Dependencies - Run
npm installin both client and server directories.
- Create a file with filename
.envin server directory OR copy the fileenv.examplefrom server directory and rename it to.env.env.examplealready contains the required variables, you just need to configure them. - Configure the application environment using
NODE_ENVandPORT:
# Misc
NODE_ENV=[production or test or dev]
PORT= [Enter port number here]
- Configure the application secret key for authentication using
SECRET_KEY:
SECRET_KEY= [Enter secret key for passport.js here]
- Create your account with Mongo Atlas (if you don't have an account) OR Use local instance of MongoDB
- Configure the database URI using
DB_URI:
# Database
DB_URI= [Enter your mongo URI here]
- Download redis and add the
REDIS_URI:
#Redis
REDIS_URI=[Enter your redis URI here]
- Sign up for SendGrid and add the API Key you get from SendGrid to
SENDGRID_API_KEY. Also add the domain toDOMAINvariable:
# SendGrid
SENDGRID_API_KEY=[Enter SendGrid API Key here]
# Domain (used in email invites)
# Note: do no include "/" at end of url (ie http://mywebsite.com))
DOMAIN=
8.Sign up for AWS and configure AWS variables in .env file:
#AWS S3
AWS_ACCESS_KEY=[Enter AWS access key]
AWS_SECRET= [Enter AWS secret]
- Finally, when all the
.envvariables are setup, runnpm startfor client andnpm run devfor server to start. Enjoy the application!