Skip to content

Commit

Permalink
Merge pull request #105 from chriscurnow/master
Browse files Browse the repository at this point in the history
Clarified some comments re starting server.
  • Loading branch information
PatrickJS committed Oct 22, 2015
2 parents aed242a + b3efc75 commit 1b7cd5b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@ export class App {

onInit() {
// Our API
// npm run express-install
// npm run express
// Before you start the app, run these commands in another process:
//
// - npm run express-install
// - npm run express
//
// This will start a process that will listen for requests on port 3001

const BASE_URL = 'http://localhost:3001';
const TODO_API_URL = '/api/todos';
Expand Down Expand Up @@ -121,7 +125,7 @@ export class App {

errorMessage(err) {
console.info(`${'\n'
} // You must run these commands for the Http API to work in another process ${'\n'
} // You must run these commands in another process for the Http API to work ${'\n'
} npm run express-install ${'\n'
} npm run express
`);
Expand Down

0 comments on commit 1b7cd5b

Please sign in to comment.