oliverwatkins / codingchallenge_mm

codingchallenge3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run "start-backend"

in backend/package.json

run "start-frontend"

in frontend/package.json

GraphQL queries can be made by accessing :

http://localhost:3000/graphql

An example query:

{ orders {state, id, customer, items {description, amount}, statusChanges {status,updatedDate}} }

DB is initially populated in the onModuleInit method in order.service.ts. This method doesnt delete the DB data first, so after multiple restarts of the server the database data will become duplicated. Delete the file 'memory' if this becomes annoying and to reset the database.

About

codingchallenge3


Languages

Language:TypeScript 85.7%Language:HTML 7.1%Language:JavaScript 4.5%Language:CSS 2.7%