@ogaston/lil-express

is a small package to use together expressjs to get easier creating generics controllers and routes

Usage no npm install needed!

<script type="module">
  import ogastonLilExpress from 'https://cdn.skypack.dev/@ogaston/lil-express';
</script>

README

Lil Express is currently in beta. Expect more bugs than a final release.

🚀 Get started with Lil Express

Documentation

The Lil-Express is a small repository to use together ExpressJS to get easier to create Controllers and Routes.

It's as simple as:

const express = require('express');

const lil = require('./lil-express')

const authorRoute = lil.createRoute(Author, "Author")

In this case the Author variable is a MongoDB model.

Contributing

For help on setting up the repo locally, building, testing, and contributing. please send me an email.

Thanks

We would like to thank to anyone who use or contribute this repo. The small project could be the greatest.