Make new route in api instead of going through npm script; new retrieveAll call for controller

This commit is contained in:
efarooqui
2021-02-08 11:49:43 -08:00
parent d6d565a0fc
commit 7bafcb0343
4 changed files with 39 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
"version": "0.3.0",
"description": "Starter project for an ES6 RESTful Express API",
"main": "dist",
"type": "module",
"scripts": {
"dev": "env NODE_ENV=development nodemon -w src --exec \"babel-node src\"",
"build": "env NODE_ENV=production npx babel src -d dist",
@@ -26,6 +27,7 @@
"express": "^4.13.3",
"express-graphql": "^0.6.12",
"express-handlebars": "^4.0.4",
"file-system": "^2.2.2",
"googleapis": "^39.1.0",
"graphql": "^0.13.2",
"morgan": "^1.8.0",