File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
2
2
const { MongoClient, ObjectId } = require ( 'mongodb' ) ;
3
3
4
- // const connectionUrl = process.env.DB_URL? process.env.DB_URL:'mongodb://mongo:27017/';
5
- const connectionUrl = 'mongodb://127.0.0.1:27017' ;
4
+ const connectionUrl = process . env . DB_URL ? process . env . DB_URL :'mongodb://mongo:27017/' ;
5
+ // const connectionUrl = 'mongodb://127.0.0.1:27017';
6
6
const database = 'task_manager'
7
7
var db ;
8
8
var dbClient ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const notes = require('./timeTracker.js');
3
3
const express = require ( 'express' ) ;
4
4
var graphqlHTTP = require ( 'express-graphql' ) ;
5
5
var { buildSchema } = require ( 'graphql' ) ;
6
- const port = 4000 ;
6
+ const port = 3000 ;
7
7
const app = express ( ) ;
8
8
9
9
var schema = buildSchema ( `
You can’t perform that action at this time.
0 commit comments