Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarified some comments re starting server. #105

Merged
merged 2 commits into from
Oct 22, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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