We have launched Grails Plugin for our 300+ App42 Backend as a Service APIs
http://grails.org/plugin/app-forty-two-paas
To install the plugin –
For Grails 2.x
grails install-plugin app-forty-two-paas
For Grails 1.3.x
you need to add an extra plugin repository definition in BuildConfig.groovy
repositories {
grailsPlugins()
grailsHome()
grailsCentral()
grailsRepo "http://grails.org/plugins" // You have to add this line
}
To use various modules one needs to just inject the respective service. For e.g.
– To use the User Management Service you can inject the userService
def userApp42Service
userService.createUser("userName", "password", "email@shephertz.com")
– Upload and CDN Service
def uploadApp42Service
uploadApp42Service.uploadFile("FILE_NAME", "FILE_PATH", UploadFileType.IMAGE , "FILE DESCRIPTION")
– Storage Service
def storageApp42Service
def dbName = "DATABASE_NAME"
def collectionName = "COLLECTION_NAME"
def json = "{"name":"JSON_NAME"}" // example to create json
def storageObj = storageApp42Service.insertJSONDocument(dbName, collectionName, json);
Checkout our 18+ modules ranging from Technical Services to Business Service i.e.
File Upload
User Session Management
Email
Message/Queue
Gallery
Storage
Logging
Recommendation
Geo Spatial
Gaming
Review/Rating
Shopping Cart/E-commerce
Catalogue
Image Processor
Social
To read in detail about each of the modules you can visit our website http://api.shephertz.com .
Leave A Reply