Skip to content

sivertjoe/hive

Repository files navigation

Hive 🐝 🪲 🐜

What is this project?

This is a personal project for an online hive server. Think chess.com, only for the board game hive. The end-game of the project is to be able to play hive games with your friends and for friends to spectate games live 🔍 😎

What is hive?

Hive is a board game where the objective of the game is to place down bugs 🐛 in order to surround the enemy queen bee piece 🐝

How to run

In production

You can use docker 🐳! However, you probably want to change some URLs in the project to your domain. See frontend/src/request.rs. If you need to change the port, you need to change it in the docker-compose file as well as in the code.

Locally

Server

cargo run

Frontend

Dependencies:

  • wasm-pack
  • cargo-make

All can be installed with cargo install <dep>

To make and serve the frontend you use cargo make:

cargo make watch  # Wathces and builds the frontend
cargo make serve # Serve the built project

Database

docker-compose up db

Tech stack

Database MongoDB 📑
Backend Rust using Tokio + hyper 🗼
Frontend Rust using Seed-rs (elm inspired architecture) 🌱

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages