Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/npalm/graphql-prisma-demo
GraphQL prisma demo
https://github.com/npalm/graphql-prisma-demo
Last synced: 25 days ago
JSON representation
GraphQL prisma demo
- Host: GitHub
- URL: https://github.com/npalm/graphql-prisma-demo
- Owner: npalm
- License: mit
- Created: 2019-09-23T19:38:08.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T08:49:13.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T22:03:55.077Z (about 1 month ago)
- Language: JavaScript
- Size: 289 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![project status](https://img.shields.io/badge/status-demo-orange.svg)
# GraphQL Prima Demo
This repo contains two GraphQL samples baded on [primsa](https://www.prisma.io/). The first sample shows a model based on talks on conferences. The model shows a sample based on cities and a bit of information about the city.
This sample is part of a [GraphQL Yoga Sample](https://github.com/npalm/graphql-prisma-yoga-demo) where both models will be combined in one GraphQL schema.
## Usages
### Required software
- Node 10+
- docker and docker-compose### Start
Just run the start script, it will spin up docker containers for prisma and the database. Once up, prisma is deployed and some data is loaded via npm.
```
./start.sh
```### Stop (clean)
Just run the stop script.
```
./stop.sh
```