Giter Club home page Giter Club logo

docker-react-graphql-express-postgres's Introduction

docker-compose installation using repositories from The Road to GraphQL (React Express Postgres)

The docker container clone code from the books "The Road to GraphQL" and "The Road to React" to start a multi-container application which is using the technologies: React, GraphQL, Apollo, Express, NodeJS and Postgres.

The code is cloned from the following repositories into two separated containers

Additionally a container with a Postgres database will be initiated.

Requirements

You should have docker and docker-compose installed on your machine.

Installation

  • Clone the project from the repo,
  • build your project using
 $ docker-compose build
  • and/or run the following command directly inside the directory
 $ docker-compose up -d

Your project will run in the browser as

Deployment

Included is a deployment script deployment-react-graphql-express-postgres.sh so that the application can be started easily.

Be careful as this script

  • stops all relevant container
  • deletes all exited container
  • deletes unused images
  • deletes orphaned volumes
  • and deletes orphaned network nodes.

Finally it builds and starts up all docker images.

docker-react-graphql-express-postgres's People

Contributors

gemane avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.