Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albingroen/prismabuilder.io
Build your Prisma schema visually in this easy-to-use web based tool
https://github.com/albingroen/prismabuilder.io
nextjs prisma tailwindcss
Last synced: about 2 months ago
JSON representation
Build your Prisma schema visually in this easy-to-use web based tool
- Host: GitHub
- URL: https://github.com/albingroen/prismabuilder.io
- Owner: albingroen
- Created: 2021-11-25T12:45:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T08:43:41.000Z (about 2 months ago)
- Last Synced: 2024-07-25T10:13:32.867Z (about 2 months ago)
- Topics: nextjs, prisma, tailwindcss
- Language: TypeScript
- Homepage: https://www.prismabuilder.io
- Size: 1.77 MB
- Stars: 268
- Watchers: 3
- Forks: 29
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# prismabuilder.io
Build your Prisma schema visually in this easy-to-use web based tool.
Try it out at [prismabuilder.io](https://prismabuilder.io)
Schema generator code by [Richard Powell](https://github.com/byrichardpowell/prisma-schema-to-json-to-prisma-schema)
## 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.
```javascript
axios.post("https://prismabuilder-io-api.onrender.com/generate", { schema });
```### Parsing a schema string into JSON
```javascript
axios.post("https://prismabuilder-io-api.onrender.com/parse", { schema });
```You can find the code for this here: [albingroen/prismabuilder.io-api](https://github.com/albingroen/prismabuilder.io-api)