install typings (typings are local) - node_modules/.bin/typings
build client code - npm run frontend
start server - npm run server
install node-typings - 'node_modules/.bin/typings install dt~node --global --save'
http://localhost:3333/api/registration/
body - username, password, type (0 or 1)
headers - Content-Type = application/x-www-form-urlencoded
body - username, password
headers - Content-Type = application/x-www-form-urlencoded
empty
http://127.0.0.1:3333/api/user
(auth)
"id": 25,
"username": name,
http://127.0.0.1:3333/api/user
(auth)
"id": number (required),
"phone": string,
"firstname": string