Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-10T09:27:54.000Z (over 1 year ago)
- Last Synced: 2024-12-08T20:53:38.298Z (about 1 month 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
[![GitHub stars](https://img.shields.io/github/stars/codejamninja/prisma-apollo-example.svg?style=social&label=Stars)](https://github.com/codejamninja/prisma-apollo-example)
> example using prisma as an apollo datasource
Please ★ this repo if you found it useful ★ ★ ★
![](assets/prisma-apollo-example.png)
## 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!
[![Liberapay receiving](https://img.shields.io/liberapay/receives/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)
[![Liberapay patrons](https://img.shields.io/liberapay/patrons/codejamninja.svg?style=flat-square)](https://liberapay.com/codejamninja/donate)