Skip to content

CoteriePH/prisma-data-proxy

 
 

Repository files navigation

prisma-data-proxy

Self hosted Prisma Data Proxy.

credits:

other implementations:

setup

  • clone this repository
  • update schema.prisma
  • set environment variables. (check out main.go)
  • go run main.go
  • add the line process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; at the start of the node.js app
  • detalils: prisma data proxy.

🧪 Experimental Redis Rest API.

This project also serves as an experimental Redis REST API that is compatible with the @upstash/redis package.

environment variables: (check out main.go)

import { Redis } from '@upstash/redis'

const redis = new Redis({
  url: 'http://localhost:4466/redis',
  token: 'SECRET_API_KEY',
  responseEncoding: false,
})

Releases

No releases published

Packages

No packages published

Languages

  • Go 80.5%
  • HTML 7.1%
  • Shell 4.5%
  • Dockerfile 4.4%
  • JavaScript 3.5%