Closed mikecann closed 8 years ago
Sure. Both client and server?
Ye both client and server. I noticed there are some differences from the typescript skellington project too im assuming they arent important?
I think a separate branch with a type script version would be the best. Obviously readme needs to mention clear ly.
What is the purpose of the proxy lines in serve.js ?
var proxyOptionsApiRoute = url.parse('http://localhost:' + paths.nodeJsPort + '/api') ; proxyOptionsApiRoute.route = '/api';
var proxyOptionsAuthRoute = url.parse('http://localhost:' + paths.nodeJsPort + '/auth') ; proxyOptionsAuthRoute.route = '/auth';
Also could you explain the funky stuff going on on nav-bar.js? This differs from https://github.com/aurelia/skeleton-navigation/tree/master/skeleton-typescript/src
Hi, The proxy lines are there because I make a strict distinction between:
Make sense? cheers paul.
Regarding nav-bar.js. Well, maybe in more recent versions of aurelia, it might be that there is now a more elegant approach possible , but basically I want to observe the isAuthenticated property and update the displayName accordingly.
Okay great thanks!
Hi Mike, Could you elaborate the typescript version ? cheers paul.
Elaborate?
I decided in the end to do with a ASP Core based API in the end instead of a node one, so I abandoned my half-started TS port.
This is excellent work, exactly what I needed to help me get going.
I was wondering if you or anyone has had a go at converting it to typescript? If not I may have a go.