A subversive card game
Go to file
2022-01-13 12:21:07 -06:00
back Simplify socket.io server configuration 2022-01-13 12:21:07 -06:00
core Update npm packages 2022-01-12 14:34:28 -06:00
front Rebuild node src 2022-01-12 14:48:34 -06:00
.gitignore Update README.md 2021-05-05 22:28:54 -05:00
build Simplify env file 2022-01-12 14:48:58 -06:00
env Simplify env file 2022-01-12 14:48:58 -06:00
LICENSE Create LICENSE 2021-05-06 20:52:13 +00:00
README.md Update description in README 2022-01-12 14:33:52 -06:00
run Simplify env file 2022-01-12 14:48:58 -06:00

McCarthyism

A subversive card game.

Getting started

git clone this repository, then run npm install in front and back. You may have to run it multiple times for it to pull in all dependencies.

Developing

You can use NEXT_PUBLIC_BACK_HOST=localhost:4000 npm run dev to run the frontend and PORT=4000 node dist/index.js to run the backend after building it with npm run build. You could also just run NEXT_PUBLIC_BACK_HOST='https://server.exozy.me' npm run dev if you are only developing the frontend and connect to the public backend server.

Production deployment

Edit the environmental variables in ./env and use the script ./run.