• Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language Reason
  • License
    MIT License
  • Created about 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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 [email protected] or join the Discord.

License

FOSSA Status

More Repositories

1

react-use-elmish

A React hook for unified purely-functional state and effect management
TypeScript
57
star
2

refract

Experimental. Iterating on API
OCaml
23
star
3

nact-persistence-postgres

Postgre Storage Provider for Nact
JavaScript
14
star
4

Fable.Websockets.Elmish

Library wrapping Fable.Websockets.Client to fit into the Elmish architecture
F#
13
star
5

Fable.Websockets

A library to provide strongly typed client/server communication between Fable and F# websocket servers
F#
12
star
6

react-elmish-router

Router for the React Use Elmish (https://github.com/ncthbrt/react-use-elmish)
TypeScript
12
star
7

nact.xyz

Site for nact documentation
JavaScript
10
star
8

akka-cluster-playground

Docker Compose Environment for exploring Akka.Net clustering
C#
8
star
9

refract-fileserver-example

C++
4
star
10

decoders-generator

Takes in a typescript file and generates a set of decoders based on the types contained therein.
JavaScript
4
star
11

reason-nact-postgres

Wrapper around nact-persistence-postgres for reason-nact
C++
3
star
12

Shortener

Private url shortener tool with social media support
F#
3
star
13

RealRocketRacing

C#
1
star
14

nact-cron

Cron Scheduler for Reason Nact
Reason
1
star
15

type-markers

A small library to enrich objects with runtime type information
TypeScript
1
star
16

koa-oauth2-introspection-middleware

TypeScript
1
star
17

refract.xyz

OCaml
1
star
18

re-secure-random-string

Bucklescript/ReasonML Bindings for secure-random-string
OCaml
1
star
19

ProtocolBuffersCli

Protocol Buffers are great. Figuring out the baroque sequence of commands used to compile a folder containing *.proto files isn't. This project wraps the protocol buffers compiler in a friendlier CLI
C#
1
star
20

manifold-rust

Test Repository for Getting Manifold Working in Rust
Rust
1
star