Hi, I need to run some cron tasks to fetch data fr...
# prisma-whats-new
n
Hi, I need to run some cron tasks to fetch data from some apis, and add them to my graph.cool database (my setup is graph.cool + nextJs + react). I'm thinking of using nodeJs server to run my crons and data fetching operations. Should i use something like apollo graphql-server-express to mutate data on my node server? I'm pretty a beginner with nodeJs.
n
@niwat no you don't need a GraphQL server for this situation. simply using https://github.com/graphcool/graphql-request in your Node server is enough to send queries and mutations to your API 🙂
n
great thanks @nilan, this looks like exactly what I need
👍 1