Giter Club home page Giter Club logo

pro-slim's Introduction

nanoexpress

Professional backend framework for Node.js

Node.js CI Code Climate GitHub issues

Special thanks / Sponsors

Sponsor Since
BrowserStack 2016
JetBrains 2019
Paw 2020
MacStadium 2020
GitPod 2022

as well as Sergey NN and Yaroslav Dobzhanskij for being Gold+ sponsors for short period of time

TO-DO / Roadmap

  • /get_schema β€” Ajv Request Validator
  • ESLint plugin for nanoexpress (for better performance)
  • TypeScript integration
  • JSDoc comments
  • Better documentations
  • nanoexpress EcoSystem (middlewares, defines, plugins)
  • Live reload page
  • staticServe watchMode
  • Get query (400x faster)
  • GraphQL subscription
  • Hooks support
  • AWS-S3 Middleware
  • Dropbox Integration
  • WebRTC integration
  • Torrent-server implementation
  • socketi Integration (Pusher API)
  • MQTT Syntax (test with clients)
  • Server-side events (test)
  • EventSource
  • Built-in fast logger (with ELK integration)
  • nanoORM written in AssemblyScript (for PostgreSQL, MySQL and SQLite)
  • Live backend builder

Table of Contents

How to Contribute

Whether you're helping us fix bugs, improve the docs, or spread the word, we'd love to have you as part of the nanoexpress community!

Check out our Contributing Guide for ideas on contributing and setup steps for getting our repositories up and running on your local machine.

Support

Thank you, all previous sponsors, backers and supporters

Sponsors

See here

License

Apache-2.0

pro-slim's People

Contributors

dalisoft avatar dependabot-preview[bot] avatar dependabot[bot] avatar greenkeeper[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

suryatmodulus

pro-slim's Issues

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this πŸ’ͺ.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


No npm token specified.

An npm token must be created and set in the NPM_TOKEN environment variable on your CI environment.

Please make sure to create an npm token and to set it in the NPM_TOKEN environment variable on your CI environment. The token must allow to publish to the registry https://registry.npmjs.org/.


Good luck with your project ✨

Your semantic-release bot πŸ“¦πŸš€

Implement drop-in replacement of Express.js with 6-x performance difference?

Hi users & stargazers!

I'd love to hear your ideas and agreements.
Also, for this feature (drop-in replacement), i am need two or three developer with free time and/or support for development hours (contact me for more information at [email protected]).

I am think this idea like nanoexpress Pro which is differs by performance, features and support.
If you like that, please leave "Emoji πŸ‘".

Below you can see at which cost what you can get

Simple

  • Free
  • 4-5x faster than Express (not in all-cases)
  • 2-3x faster than Express (for Async routes)
  • Validation/Serialization out-of-the-box
  • Express.Static-like method
  • Auto Swagger/OpenAPI documentation
  • Latest Dependencies
  • Apache Licensed

Pro

  • Starting from 25$/month per user (only npm accessing) or 50$/month (access to project private repo)
  • 6-7x faster than Express (in most-cases)
  • 4-5x faster than Express (for Async routes)
  • Lighter size
  • More polyfilled methods
  • Express.Route polyfill
  • Express.Static polyfill
  • Less bugs and errors
  • Much Stable Performance / RPS
  • Auto Swagger/OpenAPI documentation
  • Bug-Fixes within 4-8 hours (if you paid for Pro)
  • Latest dependencies
  • Commercial license (license will be valid until you stop paying) for closed-source project per person, ONE person can use this if purchased, other can't if other not purchased.

Note: If you not agree, i will continue support this project.
Thank you.
I hope you understand me.

Update 1: You can try PRO in your open-source application
Update 2: Changing plans
Update 3: Update
Update 4: Change Commercial license term and remove support hour (who applied already until 19 August 2019 18:50:00 GMT+5, support hours will be applied for your purchased period of license)
Update 5: Typo fix
Update 6: Update
Update 7: Price improvement
Update 8: Price was changed, see my Patreon page

use middlewares Error

use middlewares

import nanoexpress from '@nanoexpress/pro-slim';

function two(req, res, next) {
    req.two = true;
    next();
}
  
const app = nanoexpress();
app.use(two)  

app.get('/', async () => {
    return ({ status: 'ok' });
});

app.listen(3000);

Error:Only Async Functions are allowed to expose route

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.