This example API shows how to create Contact basic CRUD operations. This project is a Mule REST API.
Prerequisites:
- Anypoint Studio 7.x
- Maven
- SQL Server Express or MySQL. Also you can use RDS or any other DBMS cloud service.
- JDK 1.8 or higher
To install this example application, run the following commands:
git clone https://github.com/JetCla/contact-sys-api.git
cd contact-sys-api
mvn clean installAfter that you can deploy on Cloudhub the API. The API binary is on /target directory
The following properties need to be configured on mule-app runtime
env=dev
anypoint.platform.config.analytics.agent.enabled=false
runtime.key=abcd#efgh123@456The API use a Database to store all the contact information This is configured into the property file contact-sys-api-{env}.yarn
db:
host: "{DB_HOST}"
port: "1433"
user: "{DB_USER}"
password: "{DB_PASS}"
name: "contactDb"Note: The password must be encrypted using the runtime.key
API Url: https://contact-sys-api-claudio.us-e2.cloudhub.io API Console: https://contact-sys-api-claudio.us-e2.cloudhub.io/console/
Apache 2.0, see LICENSE.