0.2.5 • Published 12 months ago
exposerjs v0.2.5
ExposerJS
API Generator Framework
Documentation 🔗
ExposerJS is an API generator based on Express and Prisma. It deploys a route for each Prisma method. It also allows you to add custom methods and deploy them in a simple way, providing everything you need. It has the ability to use parameter validation (AJV), restriction checking (ACLs), and token validation (JsonWebToken).
Supported Frameworks: Express Supported ORMs: Prisma
Installation
$ npm i exposerjs
A quick look:
import { exposer } from "exposerjs";
import { PrismaClient } from "@prisma/client";
exposer.run({PrismaClient});