A party-based pictionary game
Pixelated uses yarn workspaces to construct a monorepo.
- React - Build the interactive UI through components
- NodeJs + ExpressJs - Build the API and web socket handling
- MongoDb - Data persistence
node
version16
or above.docker
installed (if you decide to run the MongoDb container over using atlas)yarn
version1
(recommended) or above.
- Clone the repo and go into the root directory.
- Run
yarn
to install packages dependencies. - Go into
apps/client
and copy the.env.example
file. Make a.env
file and copy contents over. - Repeat for
apps/server
environment file. - If you're using a MongoDb Atlas connection string, then you do not need to provide the other MongoDb variables
- If you're using the docker file to run Mongo. Do the following:
- Ensure you are inside
apps/server
directory. - Ensure
.env
file contains the outlined variables below..env.example
has defaults:MONGO_DB_NAME
MONGO_DB_USERNAME
MONGO_DB_PASSWORD
MONGO_CONNECTION_URL
- Run
docker-compose up -d
- Ensure you are inside
- Now you should be ready to go! Go back to the root directoy and run
yarn dev
to start the application.