Setting up the GraphQL backend - CivicTechFredericton/mealplanner GitHub Wiki

Make sure you set up the postgrahpile backend first. The graphql server depends on that.

Install node using the installer from nodejs.org that matches your OS (Windows/Mac/Linux).

Open a command prompt or powershell and CD to the mealplanner/backend

Install the dependencies if you haven't already:

npm install

Now run the graphql server:

npm start

The server should now be available at http://localhost:4000/graphiql