All Projects â†’ prisma â†’ dataguide

prisma / dataguide

Licence: Apache-2.0 license
🗄️ Prisma's Data Guide - A growing library of articles focused on making databases more approachable.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
shell
77523 projects

Projects that are alternatives of or similar to dataguide

boilerplate
Boilerplate for @prisma-cms
Stars: ✭ 22 (-78.22%)
Mutual labels:  prisma
fastify-graphql-nexus-prisma
GraphQL Server with Fastify, Mercurius, Prisma, and Nexus
Stars: ✭ 125 (+23.76%)
Mutual labels:  prisma
ra-data-prisma
Packages to connect react-admin with prisma version 2
Stars: ✭ 73 (-27.72%)
Mutual labels:  prisma
Ararat
Ararat is the next-generation container/virtual machine control panel. It is your one-stop shop for single application containers, full system containers, and KVM instances
Stars: ✭ 21 (-79.21%)
Mutual labels:  prisma
PRISMA2020
Produce PRISMA-2020 compliant flow diagrams
Stars: ✭ 58 (-42.57%)
Mutual labels:  prisma
redwood
The App Framework for Startups
Stars: ✭ 15,079 (+14829.7%)
Mutual labels:  prisma
danestves.com
✨ My portfolio built with Remix, Tailwind, Prisma, and Fly.io.
Stars: ✭ 9 (-91.09%)
Mutual labels:  prisma
next-saas
Rapid development of SaaS products with Next.js
Stars: ✭ 39 (-61.39%)
Mutual labels:  prisma
fullstack-nextjs-ecommerce
Fullstack Next.js E-Commerce made with NextAuth + Prisma, Docker + TypeScript + React Query + Stripe + Tailwind Sentry and much more 🛒
Stars: ✭ 524 (+418.81%)
Mutual labels:  prisma
zod-prisma
A custom prisma generator that creates Zod schemas from your Prisma model.
Stars: ✭ 349 (+245.54%)
Mutual labels:  prisma
prismabuilder.io
Build your Prisma schema visually in this easy-to-use web based tool
Stars: ✭ 161 (+59.41%)
Mutual labels:  prisma
nikolovlazar.com
My personal site's repo built using Next.js, Chakra UI, MDX, Prisma, PlanetScale.
Stars: ✭ 126 (+24.75%)
Mutual labels:  prisma
workshop-serverless-graphql
[AWSKRUG Serverless Group 2019] Serverless GraphQL Workshop
Stars: ✭ 80 (-20.79%)
Mutual labels:  prisma
cms30
🙌 #CMS30 | Free 30 CMS templates
Stars: ✭ 23 (-77.23%)
Mutual labels:  prisma
prisma-field-encryption
Transparent field-level encryption at rest for Prisma
Stars: ✭ 68 (-32.67%)
Mutual labels:  prisma
react-chat-app
A real-time chat application with Node.js, Prisma, GraphQL, Next.js, React.js and Apollo.
Stars: ✭ 61 (-39.6%)
Mutual labels:  prisma
prisma-json-schema-generator
A generator for Prisma 2 to generate a valid JSON Schema (v7)
Stars: ✭ 145 (+43.56%)
Mutual labels:  prisma
express-server-jwt
A simple express server that handles JWT authentication
Stars: ✭ 34 (-66.34%)
Mutual labels:  prisma
matnbaz
📚 The source-code for matnbaz.net. A monorepo containing the back-end (NestJS/Prisma/Apollo), front-end (Next.js/Apollo) and some tooling.
Stars: ✭ 481 (+376.24%)
Mutual labels:  prisma
midwayjs-crud
基于 Typescript+MidwayJs+Nacos 的微服务开发架构
Stars: ✭ 45 (-55.45%)
Mutual labels:  prisma

Prisma's Data Guide

This repository contains the source code and the content for Prisma's Data Guide.

Licenses

The code in this repository is licensed under an Apache License, Version 2.0.

The written content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Run locally

Download the code and get started by running the following commands:

git clone [email protected]:prisma/dataguide.git
cd dataguide
npm install
npm run dev

To prettify or format the code, run:

npm run prettify

Visit http://localhost:8000/ to view the app.

MDX blocks

View the example MDX blocks on http://localhost:8000/intro/example and the usage in example.mdx

Configure

Write MDX files in content folder.

Open config.js for available config options for gatsby, header, footer, feedback and siteMetadata

Inserting, moving and deleting files

All files/folders in the context are prefixed with a position which indicates the order in which they appear in the sidenav on the docs website. This makes it cumbersome to insert, move and delete files because the positions of a number of other files (if not all) in the same folder might need to be adjusted. Thanks to Luca Steeb, you can perform these operations with a dedicated CLI called mdtool.

Install

wget https://gist.githubusercontent.com/steebchen/bd085ebde1fcf4242e3fdd0df4d202a6/raw/c04e3d262eb6a302a9fab98f6428fec9329681e2/mdtool -qO /usr/local/bin/mdtool
chmod +x /usr/local/bin/mdtool

Usage

Overview

mdtool insert 3
mdtool swap A B
mdtool move A B
mdtool remove 4

mdtool insert

Make place for a new file at given index and increment all numbers by one after that index:

$ mdtool insert INDEX

# e.g.:
$ mdtool insert 2

# Result: for files 01-a, 02-b, 03-c, and 04-d; 03-c is renamed to 04-c and 04-d is renamed to 05-d so you can create a new file at index 2

mdtool swap

Swap two files; specify both filenames (prefix numbers get automatically adjusted):

$ mdtool swap FILENAME1 FILENAME2

# e.g.:
$ mdtool swap 03-file1.mdx 07-file2.mdx

# Result: Files are now named: 03-file2.mdx 07-file1.mdx

mdtool move

Move a given file to another given index

$ mdtool move FILENAME INDEX

# e.g.:
$ mdtool move 05-file.mdx 2

# Result: 05-file.mdx is move to 02-file.mdx, plus previous files 02-*, 03-*, 04-* are incremented

mdtool remove

Shift all other items by -1 at a given index:

$ mdtool remove INDEX

# e.g.:
$ mdtool remove 2

# Result: 01-a, 02-b, 03-c, 04-d becomes 01-a, 02-b, 02-c, 03-d; 02-b is supposed to be manually deleted

Thanks Luca

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].