Skip to content

simondegheselle/bp-backend-graphql

Repository files navigation

GraphQL backend

Getting started

To get the Node server running locally:

  • Clone this repo
  • docker-compose build to build the docker image
  • docker-compose up to start the docker image

Application structure

app.js - This is the entry point to our application. This file defines our express server and connects it to MongoDB using mongoose. It also requires the graphQL routes and mongoose models we'll be using in the application.

models/ - This folder contains the schema definitions for our Mongoose models.

schema/ - This folder contains the graphQL schema definitions.

services/ - This folder contains services that execute database logic

Postman

A postman collection, containing all the possible requests, is included in this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published