I used endpoints-angular-client-generator to generate client/jasify/providers/jasify.provider.js. This exposes and angular services called Jasify. I then replaced three methods to use it as a test
Auth.logout
Auth.recoverPassword
Auth.forgotPassword
I want to go with these to prod so that we can check if generated code works outside of devserver.
I used endpoints-angular-client-generator to generate
client/jasify/providers/jasify.provider.js
. This exposes and angular services calledJasify
. I then replaced three methods to use it as a testAuth.logout
Auth.recoverPassword
Auth.forgotPassword
I want to go with these to prod so that we can check if generated code works outside of devserver.
The code goes from:
Old
New