Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

An application serving as a PostGraphile + Relay Modern crash course.

Awesome Lists containing this project

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) 👀 .