https://github.com/joinhandshake/code-challenge-boilerplate-graphql
Graphql Code challenge stack
https://github.com/joinhandshake/code-challenge-boilerplate-graphql
Last synced: 12 months ago
JSON representation
Graphql Code challenge stack
- Host: GitHub
- URL: https://github.com/joinhandshake/code-challenge-boilerplate-graphql
- Owner: joinhandshake
- Created: 2020-03-05T18:42:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-05T18:43:41.000Z (over 6 years ago)
- Last Synced: 2025-06-19T21:48:14.203Z (12 months ago)
- Language: JavaScript
- Size: 12.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Handshake Code Challenge Graphql Boilerplate
## Quickstart
Start Prisma + Postgres API
```
docker-compose up -d
```
Deploy Prisma schema
```
yarn deploy
```
Serve the front end
```
yarn start
```
Go to http://localhost:1234
## API
This repo uses a Prisma backed API.
[prisma](https://www.prisma.io/docs/understand-prisma/)
[writing migrations in prisma](https://www.prisma.io/docs/get-started/02-change-data-model-JAVASCRIPT-c001/)
depends on docker + node
Setup locally with `docker-compose up -d`
To deploy your Prisma API locally after making changes to the schema, run `yarn deploy`
Once the server is running, you can interact with the Graphql API at http://localhost:4466/
## Front end
### Parcel
The front end is hosted by [parcel](https://parceljs.org)
Serve front end assets with `yarn start` on localhost:1234
### React
The front end is setup with React + Apollo to see data. See client/index.js