Akryum / Akryum/vue-cli-plugin-apollo

Best way to use without Express Middleware?

Aperta
#83 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
JavaScript
Stelle
477
Fork
109
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have a separate Express server on port 3000 that deals with standard app routes, but I would like to have any GraphQL requests come through a `/graphql` route and be proxied to Apollo (running on 4000). I'm using `http-proxy` but it does not seem to want to connect (timeout with bad request).

There has to be something wrong with how I'm trying to set this up. Does anyone have experience running a custom server alongside Apollo?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.