Skip to content

Mareo game with a frontend written in ReScript and backend written in Motoko

Notifications You must be signed in to change notification settings

cristianoc/rescript-motoko

Repository files navigation

mareo

Based on https://github.com/cristianoc/mareo, with a frontend written in ReScript and backend written in Motoko. The backend is used to load and save game state.

Prerequisites

Quick Start

cd rescript-motoko

# start the replica and build the backend
dfx start --background
dfx deploy backend

# start the frontend
npm install
npm run start

To iterate on the frontend code in src/frontend either use an editor extension with ReScript support such as rescript-vscode, or build directly with npx rescript.

To iterate on the backend code, edit .mo files in src/backend. The interface between frontend and backend is in src/frontend/src/Backend.res.

Deploy both backend and frontend canisters

dfx deploy
npm run open

About

Mareo game with a frontend written in ReScript and backend written in Motoko

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published