Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration #17

Open
loentar opened this issue Dec 1, 2016 · 5 comments
Open

Configuration #17

loentar opened this issue Dec 1, 2016 · 5 comments

Comments

@loentar
Copy link
Owner

loentar commented Dec 1, 2016

Now ngrest has a number of hidden parameters which is set on compile-time and cannot be changed by user without re-building ngrest.
It would be good to make it configurable from config file (JSON)?

@jamesaxl
Copy link

what do you think if ngrest create project will create also a config file, that is read with ngrest script?

@loentar
Copy link
Owner Author

loentar commented Jan 18, 2017

Maybe.. and it may override settings from default config file.

Not sure if possible to read that config from script directly, but with server it's fine..

@jamesaxl
Copy link

jamesaxl commented Jan 27, 2017 via email

@loentar
Copy link
Owner Author

loentar commented Jan 28, 2017

If you need to store some configuration for your service, it may be implemented like that:

configexample.zip

@jamesaxl
Copy link

jamesaxl commented Jan 30, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants