Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dreesq/serpent

Next gen, easy to learn, full featured app framework that allows you to quickly develop high performing web and server applications
https://github.com/dreesq/serpent

express framework mongoose nodejs

Last synced: 6 days ago
JSON representation

Next gen, easy to learn, full featured app framework that allows you to quickly develop high performing web and server applications

Awesome Lists containing this project

README

        





Documentation

Serpent is the core component of Dreesq's ecosystem. Its purpose is to better improve developer's productivity by dealing with most of the code boilerplate any new application would require such as: Authentication, Middlewares, WebSockets, Internationalization etc.

The framework is built with extension in mind, each aspect of it being configurable and extendable.

The main focus is to provide high quality, high performance code, while still keeping Node's beautiful parts without introducing new paradigms. Because of that, no preprocessor is used.

We think that web applications should be fun to develop.

### Setup

`npm install express @dreesq/serpent --save`

Here's a basic http server example

```js
const {setup, get, start} = require('@dreesq/serpent');
const app = require('express')();

get('/hello/:name', async ({ input }) => `Hello there ${input.name}!`);
setup(app).then(start);
```