Back-end code for a Word-Complete (English Shiritori) game using the MERN stack
- A demo of the website can be seen here: wordcompleteonline.com. The website is hosted on an AWS Lightsail server.
- The goal of this website is to make a simple realtime multiplayer game.
- On the backened, this project uses Nodejs with the Express web framework and Socket.IO for managing realtime communication over http polling or websockets. MongoDB is used for the database. Nginx is used to handle https and forwarding traffic from port 80 to the Node application. Basic use of PM2 is used to monitor Node processes.
- The repository for the client can be found here. Bootstrap and React are the main libraries used. This website is meant to work well on both desktop and mobile.
- Clone the repository
- run
npm install
- Rename the file .envTemplate to .env and add your environment variables
- run
node index.js
- Redesign the Socket.IO/Websocket connection to work with multiple server instances. Almost certainly this will work by using a tool like Redis to exchange messages between instances.
- Allow the user to look up the meaning of words.
- Allow the user to lookup words used in previous games
- Allow the user to play the game in English or Japanese