Everything inside SRC

This commit is contained in:
Luis Fernando Molina committed 2018-11-15 11:04:27 +01:00
1 parent 385a088eea
commit 7c886e73fc
11 files changed
+4 -5

No files matched your search

+2 -2
View File
@@ -2,9 +2,9 @@
"name": "server",
"version": "1.0.0",
"description": "Advanced Algos Users backend API",
"main": "app.js",
"main": "src/index.js",
"scripts": {
"start": "nodemon --exec babel-node --presets env,stage-2 app.js",
"start": "nodemon --exec babel-node --presets env,stage-2 src/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2 -3
View File
@@ -2,14 +2,13 @@
/* This module imports */
import 'dotenv/config'
import './globals'
import logger from './logger'
import globals from './globals'
import sessions from './sessions'
import express from 'express'
import graphqlHTTP from 'express-graphql'
import schema from './schema/schema'
import mongoose from 'mongoose'
import checkJwt from './auth/middleware/jwt'
import checkJwt from './auth/jwt'
import wrongPreshared from './errors/notAllowed.json'
import cors from 'cors'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.