/Rebst

A simple way to create Rest APIs easily and quickly

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Logo


npm bundle size


A simple way to create Rest APIs easily and quickly
Explore the docs »

View Demo · Report Bug · Request Feature


Advantages

  • Super easy to use
  • Middleware
  • Restfull
  • Plugins
  • Console

Example

API

const rebst = require('rebst')
const app = rebst.init()

app.get('/', (req, res) => {
    res.rebst({
        status: 200,
        data: { 
            id: 1,
            username: 'username'
        }
    })
})

Response of the request to the url localhost:3000

{
    "success": true,
    "message": "OK",
    "data": {
        "id": 1,
        "username": "username"
    }
}

Donate

If you love Rebst and want to support the project, you can make a donation here

License

You can read the license here



Discord · Npm · GitHub