Opensource Administration Interface For RESTFul API



Today I will provide you best opensource solution for making admin interface for any RESTFul API which is ng-admin . Plug ng-admin to your RESTFul API to get a complete administration interface (datagrid, filters, complex form widgets, multi-model relationships, dashboard) in no time! Beyond simple CRUD, ng-admin lets you build sophisticated GUIs without getting in your way.

 

Installation

 

The current ng-admin version (master) depends on Angular.js 1.4. If you need compatibility with Angular 1.3, use ng-admin 0.9.

Grab ng-admin from your favorite package manager, npm or bower:

 

npm install ng-admin --save
# or
bower install ng-admin --save

 

Add the ng-admin.min.css and ng-admin.min.js to the HTML, add a <div ui-view>, and configure the admin:

 

 
<!doctype html>
<html lang="en">
<head>
	<title>My First Admin</title>
	<link rel="stylesheet" href="node_modules/ng-admin/build/ng-admin.min.css">
</head>
 
<body ng-app="myApp">
	<div ui-view></div>
	<script src="node_modules/ng-admin/build/ng-admin.min.js"></script>
	<script type="text/javascript">
		var myApp = angular.module('myApp', ['ng-admin']);
		myApp.config(['NgAdminConfigurationProvider', function(NgAdminConfigurationProvider) {
			var nga = NgAdminConfigurationProvider;
			// create an admin application
			var admin = nga.application('My First Admin');
			// more configuration here later
			// attach the admin application to the DOM and run it
			nga.configure(admin);
		}]);
	</script>
</body>
</html>
AngularJS
RESTFul

Apurv Suthar

Apurv Suthar is project manager at collonmade . He is mastered in managing projects in Blockchain programming, BOT development , cross platform app development , Angular & MEAN stack app development . He work hard to make sure your brand comes alive in the right digital channels- wrapped in a refreshing, world-class user experience .

  • jignesh patel

    Thanks for this article….