GithubHelp home page GithubHelp logo

gregwhitaker / netifi-springboot-example-screencast Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 101 KB

Example Code for Netifi Spring Boot Screencast

Home Page: https://www.youtube.com/watch?v=rKf1SVR9hwA

License: Apache License 2.0

Java 100.00%
netifi netifi-java netifi-broker netifi-spring rsocket rsocket-java rsocket-rpc spring-boot reactive-streams reactive

netifi-springboot-example-screencast's Introduction

netifi-springboot-example-screencast

Example code for the Getting Started with Netifi and Spring Boot screencast.

Instructions

This is the blank template that was used to start the project in the video. Follow along and add code to complete the project.

If you get stuck, the solution branch contains the final code.

Project Structure

This example contains the following interesting projects / directories:

  • docker - Docker Compose configuration for running a Netifi Broker.
  • hello-client - RSocket client that calls the hello-service and requests a hello.
  • hello-service - RSocket service that returns hello messages.
  • hello-service-idl - Protobuf contract that defines the API of the hello-service and is used to generate both the service and client code.

Building the Example

Run the following command to build the example:

./gradlew clean build

Running the Example

Follow the steps below to run the example:

  1. Ensure you have a running Netifi Broker. If not, run the following commands to start a new broker:

     cd docker
     docker-compose up
    
  2. In a new terminal, run the following command to start the hello-service:

     ./gradlew :hello-service:bootRun
    
  3. In a new terminal, run the following command to start the hello-client and send a request to the hello-service:

     ./gradlew :hello-client:bootRun
    

Bugs and Feedback

For bugs, questions, and discussions please use the Github Issues.

Support

Support for Netifi and RSocket is available on the Netifi Community Forums.

License

Copyright 2019 Netifi Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

netifi-springboot-example-screencast's People

Contributors

gregwhitaker avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.