Skip to content

Repository files navigation

React Prisma Typescript Fullstack

Backend

Frontend

Installation

  • yarn install
  • cd backend
  • yarn docker:up

in a new terminal / window

  • yarn prisma:deploy

Prisma version

This project targets Prisma 1, pinned to 1.33:

  • the Prisma server runs from the prismagraphql/prisma:1.33 image (backend/docker-compose.yml)
  • the Prisma 1 CLI is an exact devDependency of backend (prisma@1.33.0), so yarn prisma:deploy uses the matching CLI instead of whatever global prisma happens to be installed
  • prisma-client-lib is pinned to the same 1.33.0

Prisma 1 has no version key in prisma.yml. Keeping the CLI and the server in sync is done through the npm version and the Docker image tag, as described in the Prisma 1 FAQ. A newer 1.x CLI deploying against the 1.33 server is what produced the deploy errors reported in issue #7.

Prisma 1 reached end of life on September 1st, 2022. Prisma 1 Cloud was sunset and Prisma 1 (Open Source) was deprecated on that date, and the prisma1 repository is archived. This repository is a 2019 snapshot rather than a current starting point. The current Prisma ORM is documented at prisma.io.

Usage

  • cd backend
  • yarn dev

in a new terminal / window

  • cd frontend
  • yarn start

Hosting

Workspace

Licence

MIT

About

Full-Stack Webpack React Apollo NodeJS Express GraphQL Prisma Typescript Material-UI Formik Yup

Topics

Resources

Stars

10 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages