Skip to content

Rewording documentation #14

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

Merged
merged 3 commits into from
May 12, 2015
Merged
Show file tree
Hide file tree
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
8 changes: 2 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ This is a sample that shows how you can add authentication to an Angular2 app us

## Using it

Clone this repository as well as [the server](https://github.com/auth0/nodejs-jwt-authentication-sample) for this example.

First, run the server app in the port `3001` with `PORT=3001 node server.js`.

Then, run `npm install` on this project and run `npm start` to start the app. Then just navigate to [http://localhost:3000](http://localhost:3000)

This demo relies on a server, we've created a [authentication server demo](https://github.com/auth0/nodejs-jwt-authentication-sample) to get you started. You'll need to clone it, run `npm install` then `npm start`. It will run a local server on port 3001.

Then, you can run `npm install` and `npm start` on this project. Navigate to [http://localhost:3000](http://localhost:3000).


## License
Expand Down
2 changes: 1 addition & 1 deletion src/home/home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="home">
<div class="jumbotron centered">
<h1>Welcome to the ngVegas sample!</h1>
<h1>Welcome to the angular2 authentication sample!</h1>
<h2 *if="jwt">Your JWT is:</h2>
<pre *if="jwt" class="jwt"><code>{{ jwt }}</code></pre>
<pre *if="jwt" class="jwt"><code>{{ decodedJwt | json }}</code></pre>
Expand Down