Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prisma-labs/next-prisma-plugin


https://github.com/prisma-labs/next-prisma-plugin

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# NextJS Plugin for Prisma (Very Experimental)

[![Here Be Dragons](http://img.shields.io/badge/%F0%9F%90%89-Here%20be%20Dragons-green?style=flat-square)](https://en.wikipedia.org/wiki/Here_be_dragons)
![npm](https://img.shields.io/npm/v/next-prisma-plugin?style=flat-square)
![npm (tag)](https://img.shields.io/npm/v/next-prisma-plugin/next?style=flat-square)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

Enables Hot Reloads for the Prisma Client

### Install

```
yarn add -D next-prisma-plugin
```

### Configuration

next.config.js

```js
const withPrismaPlugin = require('next-prisma-plugin')

module.exports = withPrismaPlugin()
```

# TODO

- [ ] Windows Support
- [ ] Tests
- [ ] Automatic page reloads

# Contributing

```
cd next-prisma-plugin
yarn
cd test-app && yarn
cd ..
yarn dev
```