Skip to content

Commit aaa00a2

Browse files
committed
Merge pull request #14 from auth0/docs
Rewording documentation
2 parents 1bcca33 + ab1f6ad commit aaa00a2

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Readme.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ This is a sample that shows how you can add authentication to an Angular2 app us
44

55
## Using it
66

7-
Clone this repository as well as [the server](https://github.com/auth0/nodejs-jwt-authentication-sample) for this example.
8-
9-
First, run the server app in the port `3001` with `PORT=3001 node server.js`.
10-
11-
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)
12-
7+
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.
138

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

1511

1612
## License

src/home/home.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="home">
22
<div class="jumbotron centered">
3-
<h1>Welcome to the ngVegas sample!</h1>
3+
<h1>Welcome to the angular2 authentication sample!</h1>
44
<h2 *if="jwt">Your JWT is:</h2>
55
<pre *if="jwt" class="jwt"><code>{{ jwt }}</code></pre>
66
<pre *if="jwt" class="jwt"><code>{{ decodedJwt | json }}</code></pre>

0 commit comments

Comments
 (0)