matthiasak / clan-server

Clan-server is a super succinct, minimal node server built on observables and functional practices.

Repository from Github https://github.commatthiasak/clan-serverRepository from Github https://github.commatthiasak/clan-server

The Clan O'Server

Clan is a super succinct, no-dependency set of utilities with a slightly opinionated collection of features that integrate particularly well when used together.

The Clan O'Server builds on these small functional compositions to create a super-tiny and agile server. Most everything is built aloft the Observable implementation of clan-fp. See the Details below about adding routes, serving files, creating sync and async middleware, and more.


NPM Build Status

Usage

yarn add clan-server
# or
npm install --save clan-server

Try It Out!

Here's a nice way to get started:

mkdir <new project dir>
cd <project dir>
npm init
yarn add clan-server
touch server.js

Then checkout test.js for an example of importing and using clan-server.

Caught a bug?

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Install the dependencies: yarn
  3. Bundle the source code and watch for changes: npm start

After that, you'll find the code in the ./build folder!

Authors

  • Matthew Keas, @matthiasak. Need help / support? Create an issue or ping on Twitter.

About

Clan-server is a super succinct, minimal node server built on observables and functional practices.


Languages

Language:TypeScript 51.6%Language:JavaScript 48.4%