All Projects → articulate → Paperplane

articulate / Paperplane

Licence: mit
Lighter-than-air node.js server framework

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Paperplane

Scala Server Toolkit
Functional programming toolkit for building server applications in Scala.
Stars: ✭ 170 (+78.95%)
Mutual labels:  server, functional-programming
Tyche
Statistics utilities for the JVM - in Scala!
Stars: ✭ 93 (-2.11%)
Mutual labels:  functional-programming
Imlazy
😴 Functional programming with lazy immutable iterables
Stars: ✭ 89 (-6.32%)
Mutual labels:  functional-programming
Lda Topic Modeling
A PureScript, browser-based implementation of LDA topic modeling.
Stars: ✭ 91 (-4.21%)
Mutual labels:  functional-programming
Spotted Leopards
Proof of concept for a cats-like library built using Dotty features
Stars: ✭ 91 (-4.21%)
Mutual labels:  functional-programming
Fungamerefresh
好玩的下拉刷新控件,让我们一起来回味童年
Stars: ✭ 1,307 (+1275.79%)
Mutual labels:  functional-programming
Fundamental Haskell
Fundamental Haskell book, to the point terse statements on Haskell, Category theory, and related fields. Encyclopedic pocketbook of meaning. Zen kōan-like meditations of understanding. For quick or memory curve spaced repetition learning.
Stars: ✭ 88 (-7.37%)
Mutual labels:  functional-programming
Expression
Pragmatic functional programming for Python inspired by F#
Stars: ✭ 94 (-1.05%)
Mutual labels:  functional-programming
Cso2 Master Server
A master server for CSO2
Stars: ✭ 91 (-4.21%)
Mutual labels:  server
Startserver
Yet another http server just for fun.
Stars: ✭ 90 (-5.26%)
Mutual labels:  server
Davos
Web-based FTP automation for Linux servers.
Stars: ✭ 90 (-5.26%)
Mutual labels:  server
Serve
serve starts a simple temporary static file server in your current directory and prints your IP address to share with colleagues
Stars: ✭ 90 (-5.26%)
Mutual labels:  server
Verge
Official Verge Core Source Code Repository 💪
Stars: ✭ 1,311 (+1280%)
Mutual labels:  server
Functionalplus
Functional Programming Library for C++. Write concise and readable C++ code.
Stars: ✭ 1,286 (+1253.68%)
Mutual labels:  functional-programming
Py Kms
KMS Server Emulator written in Python
Stars: ✭ 1,318 (+1287.37%)
Mutual labels:  server
Test Each
🤖 Repeat tests. Repeat tests. Repeat tests.
Stars: ✭ 89 (-6.32%)
Mutual labels:  functional-programming
Xsrv
[mirror] Install and manage self-hosted services/applications, on your own server(s) - ansible collection and utilities
Stars: ✭ 89 (-6.32%)
Mutual labels:  server
Selfhosted Server
Selfhosted server with Ansible.
Stars: ✭ 91 (-4.21%)
Mutual labels:  server
Cocsharp
Clash of Clans library, proxy and server written in .NET [Unmaintained]
Stars: ✭ 94 (-1.05%)
Mutual labels:  server
X
新生命X组件,数据中间件XCode、日志、网络、RPC、序列化、缓存、Windows服务
Stars: ✭ 1,322 (+1291.58%)
Mutual labels:  server

paperplane

Lighter-than-air node.js server framework.

npm version npm downloads Build Status Coverage Status

Documentation

Introduction

The main goal of paperplane is to make building a node.js server easy, without all of the configuration or imperative boilerplate required for other server frameworks. If you prefer to build apps with function composition or even a point-free style, then paperplane is for you.

With paperplane you get all of these out-of-the-box:

Let's try a quick Hello World example server. It accepts a :name param in the url, and then includes that name in the json response body.

const { compose } = require('ramda')
const http = require('http')
const { json, logger, methods, mount, routes } = require('paperplane')

const hello = req => ({
  message: `Hello ${req.params.name}!`
})

const app = routes({
  '/hello/:name': methods({
    GET: compose(json, hello)
  })
})

http.createServer(mount({ app })).listen(3000, logger)

So simple and functional, with an easily readable routing table and pure functions for the route handler. If that sounds like fun to you, then read the Getting started guide or the API docs to learn more.

Example application

To help you learn the concepts used in paperplane, check out the demo application.

If you have docker installed, you can run the demo locally:

  1. Clone this repo
  2. If you're using Docker Desktop for Windows:
    • cp docker-compose.override.windows.yml docker-compose.override.yml
  3. docker-compose up
  4. http://localhost:3000
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].