##Overview This is an open-source Javascript-based console application for Usergrid called the admin portal. The admin portal is the primary administrative user interface for working with Usergrid.
The admin portal source code is fully open source and forkable. You can easily extend the admin portal, embed it into your own applications, or inspect the code to learn best practices associated with the Usergrid API.
The admin portal source is in the Usergrid repo here:
https://github.com/usergrid/usergrid
##About the admin portal Use the admin portal for administrative operations, including:
##Navigating the admin portal
The admin portal interface displays a variety of pages that display information and enable you to perform management actions. These include:
You can display any of these pages by clicking its respective item in the left sidebar menu of the admin portal.
###Account Home When you log in to the admin portal, you are presented with a home page for managing the applications and data for your organization.
The home page displays:
###Application dashboard The Application Dashboard shows a variety of statistical data for the selected application. You can see the activity level, the total number of entities, and other vital statistics for monitoring application health as well as quota limits.
###Users The Users page lists the user entities created in the current application. You can add or delete users. You can also edit various properties of a user entity such as the user's name or address.
###Groups The Groups page lists the groups created in the current application. You can add or delete groups. You can also edit some properties of a group such as the group's display name.
###Roles The Roles page lists the roles defined for the current application. You can add or delete roles. You can also specify and update the permissions for a role.
###Activities The Activities page lists the activities posted in an application. You can view when the activity was posted, who posted the activity, and the content of the activity. You can also search for activities by content or actor.
###Collections The Collections page lists the collections created in the current application. You can also search for, add, update, or deleted collections.
###Analytics Use this page to collect and analyze Usergrid usage data such as the number of times a particular collection has been accessed over a period of time. You can specify parameters for data collection, including what data points you'd like to collect, over what time period, and at what resolution. When you click the Generate button, the results are displayed in tabular form and graphically in the lower portion of the page.
###Properties The Properties page lists the credentials (Client ID and Client Secret) for the current application. You can regenerate credentials for the application from this page.
###Shell The Shell page gives you a simple way to get started using the Usergrid API. It provides a command-line environment within your web browser for trying out Usergrid API calls interactively.
##Displaying API calls as cURL commands You can display the equivalent cURL syntax for each API call that is made through the Admin portal. The calls are displayed in the console area of any of the following browsers: Chrome, Internet Explorer (in the debugger), Firefox (in Firebug), and Safari.
More information on cURL can be found here:
You can also use the Usergrid Command Line (ugc) for terminal access to the Usergrid API. ugc provides simplified access to Usergrid. For more about ugc, see the Usergrid repo:
https://github.com/usergrid/usergrid
##Deploying or Developing
If you are just deploying:
sudo npm install grunt-cli -g
./build.sh
.If you are developing:
./build.sh
.grunt --gruntfile Perf-Gruntfile.js dev;
. This will need to continue running in terminal as you are developing.grunt dev;
. This will open a browser with http://localhost:3000/index-debug.html../build.sh
again and this will run grunt build in the background.If you want to run the e2e tests:
./build.sh e2e
.To version open a terminal and run ‘npm version x.x.x’ this will add a tag and increment the package.json.
##Unit Tests Unit Tests
We welcome your enhancements!
Like Usergrid, the admin portal is open source and licensed under the Apache License, Version 2.0.
git checkout -b my-new-feature
)git commit -am 'Added some feature'
)git push origin my-new-feature
)Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.