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

Basic Server Setup for JWT Authentication

Kent C. Dodds
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
Kevo
~ 7 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
Pavel
~ 7 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
Aron Rodrigues
~ 5 years ago

What editor are you using?

Kent C. Dodds
Kent C. Doddsinstructor
~ 5 years ago

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