Skill Level: Intermediate
Time Limit: N/A
This drill was created by Rod Vagg and a number of other contributors for NodeSchool. It's a little more advanced but it's perfect for those who'd like to learn NodeJS and asynchronous programming. Enjoy!
- Install Nodejs if you don't have it.
NOTE: You can check by opening your terminal and running node -v
. The version should be higher than 0.10.32
- Update npm by running
sudo npm install npm -g
from within your terminal. - Install this challenge by running
sudo npm install -g learnyounode
- Run the command
learnyounode
and follow the instructions
You've completed the challenge and opened a pull request with your source code (i.e. javascript files). See Jay's branch if you're unsure of what your branch should look like.
sequenceDiagram
autonumber
participant c as Client app
participant k as Gateway
participant a as Service
participant db as DB
c ->> k: /token
k ->> a: pass along the jwt
a ->> a: verify user jwt
a ->> db: verify user and org information
a ->> a: populate user roles as scopes
a ->> c: access token