server-environment (REST API) switchable by Gruntfile