Skip to content

nnarayen/codenames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codenames

Screen Shot 2020-04-11 at 12 14 24 AM

Hosted at https://codenames-socket.herokuapp.com/

Simple implementation of the popular codenames app using

Building and Running with Docker

$ docker build -t codenames .
$ docker run --rm -it -e PORT=8080 -e REDISCLOUD_URL=redis://rediscloud:@host.docker.internal:6379 -p 3000:8080 codenames

This assumes you have a Redis instance running locally on your machine exposed at port 6379. You can easily configure the above REDISCLOUD_URL variable to point to remote Redis instances as well.

Running client and server separately

In a deployed environment, this codenames app runs as a SPA with all static assets provided by the server. For development, it's convenient the run these services separately.

Running golang server:

$ (server) REDISCLOUD_URL=redis://rediscloud:@localhost:6379 go run codenames

Running React frontend server:

$ (client) npm start

Running tests

What kind of project do you think this was

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published