-
Notifications
You must be signed in to change notification settings - Fork 2
Contributing
Chain must be a community driven and adopted spec. By the community embracing the Chain spec, we can share each others efforts in re-usable code.
There’s plenty of ways to contribute to Chain.
- Feedback on the spec
- Patches to chain to help implement the spec
- Patches to chain to test it (javascript tests aren’t my strong point yet)
- Implement Chain compatible Links that may be re-used
- Implement Node Servers that may run beside a Chain based app and emit events
Jump into #chain on irc freenode and talk away
Post to the node.js mailing list
Patch Chain’s helpers and builders to be more robust. Create a fork and send me a pull request. This is best coupled with a thread on the mailing list.
Patches to chain to test the basics are very very welcome.
There’s a whole lot of re-usable chunks of code that could and should be implemented as chain links. Please claim one by moving it from the “needed” section to the “impelmentations” section. If one is being worked on already that you’re interested in, either help contribute, or add a link to your own solution in the implementations section. If you think one should be added that isn’t there yet, please add it to the list.
- Session
- Authentication
- WebSockets
- Router
In some cases it may be beneficial to run a server inside your node that is not your http server. Lets say your main http server is on port 8000, you could also start a mail relay server on port 25 to receive emails. This could then raise a “Mail Received” event which the http application could bind to. Couple this with web-sockets and you could implement a push system where the push is initiated from a received email.
- SMTP relay (receive email in node for your application. Raise a “Mail Received” or similar event