<br/>
<h1 align="center">Prismext</h1>
<p align="center">Database management for NextJS+Prisma apps</p>
<p align="center">
A plug'n'play back-office solution for your apps
</p>
<p align="center" style="align: center;">
<a href="https://packagephobia.com/result?p=prismext">
<img src="https://packagephobia.com/badge?p=prismext" alt="Bundle Size"/>
</a>
<a href="https://www.npmtrends.com/prismext">
<img src="https://img.shields.io/npm/dm/prismext" alt="Downloads" />
</a>
<a href="https://github.com/floriaaan/prismext/stargazers">
<img src="https://img.shields.io/github/stars/floriaaan/prismext" alt="Github Stars" />
</a>
<a href="https://www.npmjs.com/package/prismext">
<img src="https://img.shields.io/github/v/release/floriaaan/prismext?label=latest" alt="Github Stable Release" />
</a>
</p>
Overview
Prismext is a plug'n'play back-office solution for your apps. It is built on top of NextJS and Prisma. Prismext repo is composed of two parts:- Prismext - The main repo, which contains the core of the project
- Prismext Examples - A collection of examples to help you get started with Prismext
Getting Started
npm install prismext
TODO: Add more info
Features
CRUD operations
Prismext provides a set of components to perform CRUD operations on your database. It is built on top of Prisma and NextJS.Supported operations:
X Create X Read Update Delete
Pages
TO BE COMPLETEDTypeScript
Prismext comes with built-in types to help you get started with Prismext configuration. You can check the Prismext Types to see all the available types.Example
Add API Route
// pages/api/[...prismext]/index.js
import Prismext from "prismext";
import prisma from "lib/prisma";
export default Prismext({});
Add Prismext page
TO BE COMPLETED