Giter Site home page Giter Site logo

vangav / vos_calculate_sum Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 36.22 MB

vangav open source - calculate sum; generated using vangav backend:

Home Page: https://github.com/vangav/vos_backend

License: MIT License

Shell 4.10% Java 92.67% HTML 2.52% Scala 0.71%
backend generator java service-oriented-architecture scalable performant cassandra client algorithms dispatcher

vos_calculate_sum's Introduction

why? calculate sum is used as a quick start template for vangav backend to help new users get to speed within the first 10 minutes; this template covers all the core basics to develop a fully functional backend service without a database

calculate sum

prerequisite

functionality

  • this services takes two floating point numbers as a request and returns the summation of those numbers as a response

overview

  • this service is based on vangav backend's calculate sum template
  • this service has the 90+% of the vangav backend's generated code + the 10-% of the logic code needed to complete the service

try this service

  1. for first timers - follow the steps in the system requirements tutorial
  2. for first timers - follow the steps in the workspace initialization tutorial
  3. download this vos_calculate_sum.zip project (from the green clone or download button up there) inside the workspace directory created previously (my_services) and unzip it
  4. rename unzipped vos_calculate_sum-master to vos_calculate_sum
  5. in the terminal cd to vos_calculate_sum
  6. start the service: ./_run.sh
  7. from your prefered client (we recommned postman) start trying the service; refer to the features and service references sections for reference
  • at the end to stop the service: press control + d in the terminal session where the service was started in (6)

eclipse

  • follow the following steps to import the downloaded backend service in eclipse
  1. cd to the service's directory and execute the ./_eclipsify.sh script
  2. file > import > general > existing projects into workspace > next > set "select root directory" to my_services > under projects make sure that vos_calculate_sum is selected > finish
  3. double check the java version used for compiling the project: right click the project > properties > java compiler > enable project specific settings > compiler compliance level > 1.7 or 1.8

covered topics

  • generating a simple service

features

controller feature
calculate sum adds up two floating point numbers

service references

reference explanation
routes api routes
controllers.json api request/response's elements
controllers api implementation

change log

  • this section lists the 10-% code added after vangav backend generated 90+% of the code
file/dir change
controllers added the implementation of request-to-response logic in processRequest methods under controller_name/HandlerControllerName.java classes

share

facebook share twitter share pinterest share google plus share linkedin share

free consulting

vangav's consultant

vos_calculate_sum's People

Contributors

travolque avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

pmaingi

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.