/boardgamers-mono

Mono-repo for boardgamers.space

Primary LanguageTypeScriptOtherNOASSERTION

Boardgamers

Gitmoji

Open in Gitpod

Mono-repo for the whole architecture of boardgamers.space.

Requirements

pnpm

We use pnpm as our package manager!

Node.js

A recent version of node, 14+ ideally, is required

Running

Frontend

There is a webapp and an admin.

pnpm dev --filter @bgs/web --filter @bgs/admin

You can directly run the frontend against the website! No need to run the backend. To do so, just create .env in the apps/web folder with VITE_backend=https://www.boardgamers.space.

Backend

You can follow the instructions in api-node and game-server, or you can just run the following command:

pnpm back

This will take care of launching a mongodb instance as well.

This is only for development. The mongodb database is exposed to the world!

You can also launch outside of docker:

pnpm start --filter @bgs/api --filter @bgs/game-server

Contributing

We welcome contributions from everybody! Don't hesitate to ask a question.

VS Code is the recommended editor. Its workspace feature is great to open multiple windows, one with all the back, and another with the all the front. Install the prettier & gitmoji extensions!