https://github.com/clayrisser/prisma-apollo-example
example using prisma as an apollo datasource
https://github.com/clayrisser/prisma-apollo-example
apollo example graphql javascript nodejs prisma server typescript
Last synced: 7 months ago
JSON representation
example using prisma as an apollo datasource
- Host: GitHub
- URL: https://github.com/clayrisser/prisma-apollo-example
- Owner: clayrisser
- License: mit
- Created: 2019-12-03T05:13:31.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-10T09:27:54.000Z (over 2 years ago)
- Last Synced: 2025-07-24T20:54:31.674Z (7 months ago)
- Topics: apollo, example, graphql, javascript, nodejs, prisma, server, typescript
- Language: TypeScript
- Homepage: https://codejam.ninja
- Size: 667 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# prisma-apollo-example
[](https://github.com/codejamninja/prisma-apollo-example)
> example using prisma as an apollo datasource
Please ★ this repo if you found it useful ★ ★ ★

## Features
- prisma
- apollo
- photon
## Dependencies
- [NodeJS](https://nodejs.org)
## Usage
First install the dependancies
```sh
yarn
```
Run each of the following commands in a different terminal
| Terminal 1 | Terminal 2 | Terminal 3 |
| ----------- | ----------------- | ------------ |
| `yarn data` | `yarn prisma dev` | `yarn start` |
You will need to run `yarn start` every time you make new changes
Open the following links
[http://localhost:4000](http://localhost:4000) - GraphQL Server
[http://localhost:5555](http://localhost:5555) - Database Explorer
## Support
Submit an [issue](https://github.com/codejamninja/prisma-apollo-example/issues/new)
## Screenshots
[Contribute](https://github.com/codejamninja/prisma-apollo-example/blob/master/CONTRIBUTING.md) a screenshot
## Contributing
Review the [guidelines for contributing](https://github.com/codejamninja/prisma-apollo-example/blob/master/CONTRIBUTING.md)
## License
[MIT License](https://github.com/codejamninja/prisma-apollo-example/blob/master/LICENSE)
[Jam Risser](https://codejam.ninja) © 2019
## Changelog
Review the [changelog](https://github.com/codejamninja/prisma-apollo-example/blob/master/CHANGELOG.md)
## Credits
- [Jam Risser](https://codejam.ninja) - Author
## Support on Liberapay
A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.
[Add some fuel](https://liberapay.com/codejamninja/donate) if you'd like to keep me going!
[](https://liberapay.com/codejamninja/donate)
[](https://liberapay.com/codejamninja/donate)