Code Monkey home page Code Monkey logo

feelings's Introduction

Feelings

This app can detect a sentiment by analyzing a text. Thanks to the Open Service Broker for Azure, this app is able to connect to the Text Analytics API seemlessly. The endpoint is managed by the Azure service broker.

Prerequisites

You need to run Cloud Foundry on Azure. An Open Service Broker instance should be running.

If you're using Pivotal Cloud Foundry, you can use this guide to setup a service broker for Azure on your platform.

How to use it?

Create a Text Analytics service:

$ cf create-service azure-text-analytics free textAnalytics -c '{ "location": "northeurope", "resourceGroup": "cfdemo-services" }'

Wait for the service to be provisioned by the service broker.

$ cf service textAnalytics
Showing info of service textAnalytics in org demos / space dev as [email protected]...

name:            textAnalytics
service:         azure-text-analytics
tags:
plan:            free
description:     Azure Text Analytics (Experimental)
documentation:
dashboard:

Showing status of last operation from service textAnalytics...

status:    create succeeded
message:
started:   2018-10-26T21:44:57Z
updated:   2018-10-26T21:47:00Z

There are no bound apps for this service.

Compile this project using Maven, and deploy it to Cloud Foundry:

$ ./mvnw clean package
$ cf push

You're good to go!

How it works?

This app is built with the following technologies:

  • Spring Boot is providing a very effective framework for developping modern apps
  • Spring Cloud Connectors makes integration with Cloud Foundry easy: this app extends SCC in order to connect to Azure Text Analytics API from Cloud Foundry
  • Open Service Broker for Azure brings Azure services to Cloud Foundry apps: these services are fully managed by Azure
  • Last but not least, this app is written using Kotlin, a modern language running on the JVM

Contribute

Contributions are always welcome!

Feel free to open issues & send PR.

License

Copyright © 2018 Pivotal Software, Inc.

This project is licensed under the Apache Software License version 2.0.

feelings's People

Contributors

alexandreroman avatar

Watchers

 avatar  avatar  avatar

Forkers

aspineon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.