Skip to content

conviche/rest-api-cors-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zuora CORS REST API Sample

This application is to show how to call Zuora REST API using CORS (cross origin resource sharing).

This sample application includes both server and client apps.

The server side is using Scala + Play, implemented two services:

  • create signature and token which are used by CORS
  • list all credit cards of sample account.

The client is implemented with AngularJs, JQuery and Bootstrap, the assets are located in /public folder.

The sample is also running on Heroku.

For more details, please visit Zuora Knowledge Center

Prerequisites

  • Scala 2.10.2
  • Playframework 2.2.0

How to Run

After scala and play are installed, in application root directory:

play run

Then, open your browser and access http://localhost:9000.

About

A sample application to show how to call Zuora's REST API using CORS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • CSS 95.4%
  • Scala 2.9%
  • JavaScript 1.7%