Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swashcap/sup-prisma
A look at Prisma, the database platform.
https://github.com/swashcap/sup-prisma
prisma typescript
Last synced: about 2 months ago
JSON representation
A look at Prisma, the database platform.
- Host: GitHub
- URL: https://github.com/swashcap/sup-prisma
- Owner: swashcap
- License: apache-2.0
- Created: 2019-04-25T22:21:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-26T15:50:27.000Z (almost 6 years ago)
- Last Synced: 2024-11-10T03:37:40.738Z (3 months ago)
- Topics: prisma, typescript
- Language: TypeScript
- Homepage:
- Size: 240 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sup-prisma
_A look at [Prisma](https://www.prisma.io/), the database platform._
## Links
* [prisma.io](https://www.prisma.io/)
* [Getting Started guide](https://www.prisma.io/docs/1.31/get-started/01-setting-up-prisma-new-database-TYPESCRIPT-t002/)## Setup
1. Make sure the following is installed: [Node.js](https://nodejs.org/en/), [yarn](https://yarnpkg.com/en/) and [Docker](https://www.docker.com)
2. Install prisma globally:
```shell
npm i -g prisma
```
3. Install the project's dependencies with yarn:
```shell
yarn
```## Initial Thoughts
* You [have to](https://github.com/prisma/prisma/issues/2278#issuecomment-450548293) [deploy](https://www.prisma.io/forum/t/graphql-playground-and-prisma-issue/3301/6) to develop locally?
* There's no prisma page for error codes (I keep getting "3016")
* They recommend installing [prisma](https://www.npmjs.com/package/prisma) globally, which is kind of an antipattern
* The [Getting Started guide](https://www.prisma.io/docs/1.31/get-started/01-setting-up-prisma-new-database-TYPESCRIPT-t002/) recommends an old version of Postgres. There's an undocumented requirement to mount a volume along with the database image that led to some time spent debugging.
* Seeing strange errors:
```shell
$ prisma info
Service Name: default
▸ Cannot read property 'replace' of nullGet in touch if you need help: https://www.prisma.io/forum/
To get more detailed output, run $ export DEBUG="*"
(node:17883) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
```