Skip to content

oboard/mocket

Repository files navigation

oboard/mocket

Version GitHub Workflow Status (with event) License

A web framework for MoonBit.

👉 Documentation

Quick Start

Mocket supports both js and native backends.

JavaScript Backend

Set the backend of MoonBit to js in Visual Studio Code

Command: MoonBit: Select Backend -> js

moon run src/example --target js

Native Backend

Set the backend of MoonBit to native in Visual Studio Code

Command: MoonBit: Select Backend -> native

moon run src/example --target native

Then visit http://localhost:4000

Usage

Minimum Example: https://github.com/oboard/mocket_example

Q & A

Why not moonbitlang/async ?

moonbitlang/async is a great library, but it is not supported by the js backend.

🙌快来吧!🙌

QQ 群号:949886784

QQ 群

About

A web framework for MoonBit.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages