1. 2
    Basic Server Setup for JWT Authentication
    1m 44s

Basic Server Setup for JWT Authentication

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Creating the basic node server to serve up random users via API endpoints.

Kevo
~ 10 years ago

I found that the 'case' has changed to lowercase on faker.Helpers and faker.Image.

The code as presented did not work for me until I changed it to:

var user = faker.helpers.userCard(); user.avatar = faker.image.avatar();

Pavel
~ 10 years ago

var user = faker.helpers.userCard(); user.avatar = faker.image.avatar();

Yeah, that helps! I think that needs to be mentioned somewhere in lesson

Aron Rodrigues
~ 8 years ago

What editor are you using?

Kent C. Doddsinstructor
~ 8 years ago

In this video I'm using Webstorm, but I use Atom these days: https://github.com/kentcdodds/ama/issues/113