-
Install all dependencies:
npm install
-
Run the project:
ts-node app.js
-
Open in browser:
Obtain token: http://localhost:3000/auth/token
;
verify token and get currentUser: http://localhost:3000/auth/userinfo
;
authorized user action:
http://localhost:3000/users