Giter Site home page Giter Site logo

nabladev / prisma2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prisma/prisma

0.0 0.0 0.0 1.76 MB

Database framework enabling type-safe data access, schema migrations and development workflows

License: Apache License 2.0

TypeScript 96.69% JavaScript 2.07% Shell 1.24%

prisma2's Introduction

Prisma Framework

This repository is used as a central point to collect information and issues around the Prisma Framework (formerly called Prisma 2) while it's in Preview. It also contains the documentation and the code of the Prisma 2 CLI.

๐Ÿ’ก The Prisma Framework is currently in Preview! Limitations include missing features, limited performance and stability issues. You can track the progress of the Prisma Framework on isprisma2ready.com.

To get started, you can explore a number of ready-to-run examples or follow the holistic tutorial. The example projects include use cases such as building GraphQL, REST or gRPC APIs (with Node.js or TypeScript) using the Prisma Framework.

What is the Prisma Framework?

The Prisma Framework (formerly called Prisma 2) is an application data framework that consists of these tools:

  • Photon: Type-safe and auto-generated database client ("ORM replacement")
  • Lift: Declarative data modeling and migrations
  • Studio: Admin UI to support various database workflows

While each tool can be used standalone (in both greenfield and brownfield projects), they integrate nicely through common components like the Prisma schema or the Prisma Framework CLI.

Getting started

The easiest way to get started with Photon and/or Lift is by using the init command of the prisma2 CLI via npx:

npx prisma2 init hello-prisma

Alternatively, you can install the prisma2 CLI globally and run the init command then:

npm install -g prisma2
prisma2 init hello-prisma

The interactive prompt will ask you to provide database credentials for your database. If you don't have a database yet, select SQLite and let the CLI set up a database file for you.

Contents

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.