GithubHelp home page GithubHelp logo

clete2 / webserviceexample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from statefarminscodingcompetition/webserviceexample

0.0 3.0 0.0 47 KB

A simple webservice example for demonstration purposes. (Not related to State Farm Coding Competition)

License: Apache License 2.0

Java 96.28% Gherkin 3.72%

webserviceexample's Introduction

WebserviceExample

An example to show a Spring MVC implementation of a couple of REST services with Swagger documentation and Swagger UI.

Technologies Utilized

  • Spring
  • Spring Boot
  • Spring Boot Devtools (hot reloading)
  • JPA
  • Spring Data JPA
  • H2
  • Swagger
  • Springfox Swagger UI (http://localhost:8080/swagger-ui.html)
  • Apache Utilities
  • Jackson JAXB JSON Object Mapper
  • Cucumber (Behavior Driven Development)
  • Unitils (Reflection Assert)

Project Setup

Prerequisites: The project should not be in a zip file.

  1. Download and start Spring Tool Suite from https://spring.io/tools/sts/all
  2. Click File -> Import... -> Existing Maven Projects
  3. Run the class sf.example.Boot

To test out the service, visit the Swagger UI at: http://localhost:8080/swagger-ui.html

Note

In the real world, there would be a lot of duplicate code to remove, but I have left the duplication for demonstration purposes.

webserviceexample's People

Contributors

clete2 avatar maximx1 avatar

Watchers

 avatar James Cloos 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.