Name: playground-data-service
Owner: ballerina-guides
Description: null
Created: 2018-03-24 14:55:41.0
Updated: 2018-04-26 08:55:34.0
Pushed: 2018-04-26 08:55:32.0
Homepage: null
Size: 31
Language: Ballerina
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
In this example you will use Ballerina to exposes data as an API.
JDK 1.8 or later
A Text Editor or an IDE
This is a Ballerina playground example. You can try it at ballerina.io.
GET all Customers
http://localhost:9090/customer
ToDo:
// Get database credentials via configuration API. const string user_name =? config:getAsString(“username”); const string password =? config:getAsString(“password”); const string DB_NAME=“CUSTOMER_DB”;