Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enisdenjo/relay-modern-boilerplate
An application serving as a PostGraphile + Relay Modern crash course.
https://github.com/enisdenjo/relay-modern-boilerplate
docker docker-compose graphql postgraphile postgres postgresql react relay-modern typescript webpack
Last synced: 11 days ago
JSON representation
An application serving as a PostGraphile + Relay Modern crash course.
- Host: GitHub
- URL: https://github.com/enisdenjo/relay-modern-boilerplate
- Owner: enisdenjo
- License: mit
- Created: 2018-09-05T20:53:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-28T11:16:13.000Z (about 2 years ago)
- Last Synced: 2024-10-18T17:31:47.256Z (21 days ago)
- Topics: docker, docker-compose, graphql, postgraphile, postgres, postgresql, react, relay-modern, typescript, webpack
- Language: TypeScript
- Homepage:
- Size: 346 KB
- Stars: 37
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-list - relay-modern-boilerplate
README
Relay Modern Boilerplate
Docker
+
Postgres
+
PostGraphile
+
Webpack
+
React
+
TypeScript
+
Relay Modern
=
Awesomeness
# Talk
This repo is used in my talk [Reintroducing Relay Modern](https://www.youtube.com/watch?v=5WjXX9-Vu-o) where I talk about the overlooked beauties of [Relay](https://relay.dev).
# Quick start
1. Make sure that you have [Docker](https://www.docker.com/products/docker-engine) and [Docker Compose](https://docs.docker.com/compose/install/) installed
2. Clone this repo using `git clone --depth=1 https://github.com/enisdenjo/relay-modern-boilerplate.git`
3. Change directory to `relay-modern-boilerplate`
4. Run `docker-compose up` to build and start [Postgres](https://www.postgresql.org/) + [PostGraphile](https://www.graphile.org/postgraphile/) + [webpack-dev-server](https://github.com/webpack/webpack-dev-server)
_Initial build may take some time because we need to install [Watchman](https://facebook.github.io/watchman/) from source_
- Postgres database is exposed at: **[postgres://localhost:5432/graphql](postgres://localhost:5432/graphql)**
- GraphQL endpoint is located at: **[http://localhost:4400/graphql](http://localhost:4400/graphql)**
_Explore the schema using [GraphiQL](https://github.com/graphql/graphiql) at: [http://localhost:4400/graphiql](http://localhost:4400/graphiql)_
- The application is located at: **[http://localhost:4401](http://localhost:4401)**
_Use `[email protected]:password` to login_# Documentation
Detailed documentation coming soon, for now happy code digging. 😁
# About this repo
To keep the talk consistent and in sync, this repo will **not be updated any further**. However, if you are interested in how this would look like _today_ or how it can become an actual project, check out [heltin](https://github.com/bhidapa/heltin) 👀 .