Giter Club home page Giter Club logo

prisma-workshop's Introduction

A Practical Introduction to Prisma

Welcome

👋 Welcome to the A Practical Introduction to Prisma workshop.

Prerequisites

In order to successfully complete the tasks in the workshop, you should have:

  • Node.js installed on your machine (12.2.X / 14.X)
  • It is recommended (but not required) to use VS Code for the practical tasks

That's it 🙌 (no prior knowledge about SQL or Prisma is required)

This repository contains the starter project for the Database Workflows & API Development with Prisma workshop by Nikolas Burk.

Setup

1. Clone this repository

You can clone this repository with the following command:

git clone [email protected]:nikolasburk/prisma-workshop.git

Alternatively, you can also download the project via the GitHub UI. Click the green Code-button in the top-right corner and then click on Download ZIP.

2. Install dependencies

Navigate into the project directory and install the npm dependencies with the following command:

cd prisma-workshop
npm install

What you'll do

In this workshop, you'll learn about various workflows that are useful to know when using Prisma.

You'll start by setting up Prisma with a SQLite database, learn about data modeling with Prisma and performing database migrations (lesson 1).

Then, you'll learn about Prisma Client, a type-safe query builder that can be used to query your database. You're going to explore various queries, from plain CRUD, to relation queries, to filters and pagination (lesson 2).

Next, you'll learn how you can use Prisma Client to implement the routes of a REST API (lesson 3).

Finally, we'll cover how you can use Prisma Client to implement the resolvers of a GraphQL API (lesson 4).

Lessons

1. Set up Prisma

2. Explore Prisma Client

3. REST API

4. GraphQL API

What does a lesson look like?

A lesson is structured in two parts:

  1. Host walkthrough: At the beginning of each lesson, your host will walk you through the different tasks you'll encounter in this lesson. Please be attentive during that time and follow the host's explanations to be sure that you can accomplish the tasks yourself when you're working on them later. Do not code along or work on the tasks yourself yet! Instead, you can think of questions or raise anything that you don't understand (e.g. in the Q & A section of Zoom).
  2. Do it yourself: Once the host is done showing and explaining the different tasks, you get dedicated time to work on the tasks yourself!

Host

Hey there 👋 I'm Nikolas, a developer education enthusiast working at Prisma. I've been actively working with Prisma and database technologies over the past 4 years.

You can contact me via the following channels:

🐦 https://twitter.com/nikolasburk (DMs open)

🐙 https://github.com/nikolasburk

📧 [email protected]

Code of Conduct

We want this workshop to be a delightful and enjoyable experience for everyone!

We dedicated to providing a harassment-free conference experience for everyone, regardless of gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, ethnicity, religion (or lack thereof), or technology choices. We do not tolerate harassment of conference participants in any form. Sexual language and imagery is not appropriate for any conference venue, including talks, workshops, parties, Twitter, Slack, and other online media. Conference participants violating these rules may be sanctioned, expelled, or blocked from the conference without a refund at the discretion of the conference organisers.

You can read the full version here.

Want to host this workshop yourself?

Hosting workshops is incredibly fun! 😄 It's also a great way to deepen your understanding of the topics you're teaching and giving back to the community by sharing your knowledge.

The materials for this workshop are free to use and can be shared with anyone you know! If you want to host this workshop yourself and want some advice on how to get started, feel free to reach out.

Join the Prisma Discord

Join our lovely community on Prisma Discord.

prisma-workshop's People

Contributors

nikolasburk avatar nurul3101 avatar jolg42 avatar

Stargazers

Pedro Henrique Paino avatar Dane avatar Lungoupao Khongsai avatar Andrejs Agejevs avatar Junior Barros avatar Nastya avatar Gábor Schön avatar anne avatar Siin avatar Alex Galhardo avatar Matheus avatar ch3cknull avatar Pedro Paulo avatar Oscar Pagani avatar Leo Porto avatar Thomas Harr avatar mushfau saeed avatar Nikita avatar Alex Ruheni avatar Yuuki Kanasugi avatar Narcis-Ionuț B. avatar  avatar Ngai Kam Wing avatar Kaushal Bhat avatar

Watchers

James Cloos avatar  avatar  avatar

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.