Giter Site home page Giter Site logo

coder_51220_graphql's Introduction

EJEMPLO GRAPHQL PARA PRACTICA DE DEPLOY EN RAILWAY.APP

En este ejercicio nos enfocamos en:

  1. Crear una cuenta gratuita en railway.app.
  2. Forkear y clonar el repo https://github.com/mundostr/coder_51220_graphql
  3. Configurar variables de entorno y realizar un deploy simple de la rama principal.
  4. Agregar los entornos para devel y qa.
  5. Sincronizar con repo Github las distintas ramas.
  6. Agregar los entornos devel y qa en railway, conectando a la rama correspondiente.
  7. Realizar cambios locales en devel y sincronizar con remoto.
  8. Efectuar pull request hacia qa y luego hacia master, probando funcionamiento en railway.

Salidas

  • Permite consultar colección de usuarios en bbdd MongoDB coder51220 que hemos venido utilizando (configurar para utilizar la bbdd remota Atlas).

Dependencias

$ npm i express express-graphql graphql mongoose --save
$ npm i nodemon --save-dev

Variables de entorno necesarias

APP_PORT=3000
MONGODB_URI=mongodb+srv://<usuario>:<clave>@cluster0.4qaobt3.mongodb.net/coder51220

Enlaces de referencia

coder_51220_graphql's People

Contributors

mundostr 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.