Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dreesq/serpent
- Owner: dreesq
- License: mit
- Created: 2018-10-08T17:25:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-19T16:38:10.000Z (6 months ago)
- Last Synced: 2024-11-16T21:32:52.023Z (about 1 month ago)
- Topics: express, framework, mongoose, nodejs
- Language: JavaScript
- Homepage: https://dreesq.github.io/serpent
- Size: 2.22 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
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);
```