Skip to content

Commit

Permalink
move index to src
Browse files Browse the repository at this point in the history
  • Loading branch information
drillprop committed Feb 22, 2019
1 parent 86a478b commit c8f2d60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"start": "nodemon --exec babel-node index.js -e js,graphql"
"start": "nodemon --exec babel-node src/index.js -e js,graphql"
},
"keywords": [],
"author": "",
Expand Down
4 changes: 2 additions & 2 deletions index.js → src/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ApolloServer, gql } from 'apollo-server-express';
import express from 'express';
import { apikey } from './config.js';
import { apikey } from '../config.js';
import fetch from 'node-fetch';
import { Album, User, db } from './src/db';
import { Album, User, db } from './db';

const typeDefs = gql`
type Query {
Expand Down

0 comments on commit c8f2d60

Please sign in to comment.