auth0-blog / nodejs-jwt-authentication-sample

A NodeJS API that supports username and password authentication with JWTs
MIT License
688 stars 267 forks source link

The app fails with "Cannot GET / #18

Open adriatic opened 8 years ago

adriatic commented 8 years ago

image

My aim is to really talk to you about working together on a really cool tutorial for Aurelia users (I am aware of your blog, your article on Rob Eisenberg's blog, your use of Paul van Bladel's aurelia plugin and I am pretty good friend with Eugenio and Matthias.

So, it feels silly to trip on the most simple first step. I am using node v5.5.1

Can you tell me what am I missing, please?

ComBarnea commented 8 years ago

This app doesnt contain '/' page. You can find the "how to" inside the readme file. good luck!!

szare commented 8 years ago

enter the following url, you will recieve a random sentence: localhost:3001/api/random-quote

szare commented 8 years ago

image

adriatic commented 8 years ago

Thank you @szare and @ComBarnea - I suggest that the sample gets updated by setting api/random-quote to be the default path :-)