nfriend / roggle

A multiplayer Boggle clone, built with React and TypeScript.

Home Page:https://nathanfriend.io/roggle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Roggle

A multiplayer Boggle clone, built with React and TypeScript. nathanfriend.io/roggle

View the source on GitLab.

Developing

  1. Clone this repository
  2. Run npm install
  3. Start a local WebSocket server using npm run server
  4. In another terminal window/tab, start a local HTTP server at the root of this project. For example:
    • Install http-server globally: npm install --global http-server
    • Run http-server at the root of this project
  5. In another terminal window/tab, build the web app using npm run build
  6. View the web app in the browser

Publishing

To publish a new version of Roggle, bump the version in package.json, publish to NPM (@nathanfriend/roggle), and run a new pipeline in the website-3.0-docker project.

Note to self

In order to run the node websocket server on the same server as Apache, add this to /etc/apache2/apache2.conf:

# pipes websocket traffic for roggle to node
ProxyPass "ws://nathanfriend.io:18734/roggle/server" ws://localhost:18734/
ProxyPassReverse "ws://nathanfriend.io:18734/roggle/server" ws://localhost:18734/

Update

The live version of Roggle is no longer hosted behind Apache; leaving the info above for historical purposes.

About

A multiplayer Boggle clone, built with React and TypeScript.

https://nathanfriend.io/roggle


Languages

Language:TypeScript 64.8%Language:JavaScript 19.1%Language:HTML 9.2%Language:CSS 6.9%