Skip to content

let reason-nact = (node.js, reason, actors) ⇒ your µ services have never been so typed

License

Notifications You must be signed in to change notification settings

ncthbrt/reason-nact

Repository files navigation

nact Logo

let reason-nact = (node.js, reason, actors) ⇒ your µ services have never been so typed

Travis branch Coveralls Dependencies

npm we are reactive FOSSA Status

Any and all feedback, comments and suggestions are welcome. Please open an issue if you find anything unclear or misleading in the documentation.

This is the repository for the ReasonML bindings for Nact. If you'd like to view the javascript implementation, please head to https://github.com/ncthbrt/nact

Sponsored by

YOUR COMPANY HERE

Nact is redux but for the server

Servers today are very different from those even 10 years ago. So why are we still programming like it's the 90s?

Inspired by the approaches taken by Akka and Erlang, Nact is an open source Node.js framework which enables you to take control of your state to:

  • more effectively use memory
  • improve application resiliance
  • increase performance
  • reduce coupling

With out of the box support for event sourcing, and a considered implementation of the actor model, Nact can work across a wide variety of domains.

Nact is no silver bullet, but it is evolving to tackle ever more demanding use cases. Perhaps one of them is yours?

Getting started

Run npm install --save reason-nact and add reason-nact to the bs-dependencies in bsconfig.json.

Full documentation at https://nact.io

Running examples

node examples/Hello_World_Adapter.bs.js
node examples/Wallet.bs.js
node examples/contacts.bs.js
node examples/greeter.bs.js
node examples/multi_user_contacts.bs.js
node examples/persistent_user_contacts.bs.js
node examples/ping_pong.bs.js
node examples/stateful_greeter.bs.js

How are you using Nact?

We would love to hear how you're using Nact. If you'd like to send feedback (bad or good) please email Nick Cuthbert at github@ncthbrt.com or join the Discord.

License

FOSSA Status