Coder Social home page Coder Social logo

amrutprabhu / spring-boot-api-first-approach Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 10.0 69 KB

This a sample application for generating client and server code using open api generator plugin

Home Page: https://refactorfirst.com

Java 100.00%
apifirst rest-api spring-boot

spring-boot-api-first-approach's Introduction

Spring Boot: API First Approach

This is a sample code on how you can work with API first approach. In this I use the API contract (based on Open API 3 standards) for creating client and server side code.

The maven plugin that I have used here is the Open API generator plugin from here

It has support for various languages and also various ways of creating your client or server code.

There are various customization options available that you can use, which you can checkout at the GitHub link here

In this sample, I have used spring generator for server side generation and java for client side code generation.

About the application

Its a simple application , wherein you can trigger the client to server communication using another API.

This is just to demostrate, how the client and server code is generated and how you use it in the application.

spring-boot-api-first-approach's People

Contributors

amrutprabhu avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.