Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 859 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 859 Bytes

prismabuilder.io

Build your Prisma schema visually in this easy-to-use web based tool.

Try it out at prismabuilder.io

Schema generator code by Richard Powell

Documentation

Generating the schema from JSON

The application uses JSON as the data format, and then generates the Prisma schema string on demand. This is done by sending a POST request to this url and passing in the schema.

axios.post("https://prismabuilder-io-api.onrender.com/generate", { schema });

Parsing a schema string into JSON

axios.post("https://prismabuilder-io-api.onrender.com/parse", { schema });

You can find the code for this here: albingroen/prismabuilder.io-api