Getting started - 英文版 - English Version

2024-05-02 18:04

本文主要是介绍Getting started - 英文版 - English Version,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

    🤗 ApiHug × {Postman|Swagger|Api...} = 快↑ 准√ 省↓

  1. GitHub - apihug/apihug.com: All abou the Apihug   
  2. apihug.com: 有爱,有温度,有质量,有信任
  3. ApiHug - API design Copilot - IntelliJ IDEs Plugin | Marketplace

api-hug-contact

 

This page outlines how you can use ApiHug to create quick demos in 15 minutes.

Prerequisites​

  1. JDK 17+ OpenJDK or Oracle's
  2. Gradle 8+
  3. IDEA 2022+
  4. ApiHug - API design Copilot

Plugin Install​

  1. File
  2. Settings
  3. Plugin
  4. Search ApiHug
  5. Install & Restart

Project Wizard​

ApiHug - API design Copilot provides a highly friendly and intuitive project template to kickstart your API development. It guides you through step-by-step creation of API projects that adhere to best practices.

01-Start ApiHug Project​

  1. File
  2. New -> Project
  3. ApiHug

02-Project Settings​

  1. Project settings
    1. package
    2. name
    3. description
  2. SDK Settings
    1. version
    2. DB Vendor
    3. Cache
    4. Port

03-Spring Settings​

This is a standard Start Spring configuration:

  1. Select Type
  2. Choice the components for example Spring Web

Eventually click Create -> Open Project to open the project:

04-Start Project​

Tip

The SDK version may update while our project goes on. please check them on repository: 

.

you can update them manually:

  1. YOUR_PROJECT > gradle > libs.versions.toml
  2. apihug = "0.9.2-RELEASE" update to latest version

Follow the IDEA's instruction:

  1. load this project as Gradle, if not please manually reload(check Notification)
  2. two modules demo-app-proto & demo-app should be recognized

04.1-Wire​
  1. Open README.md > 0. Build All
  2. find the command, parse to the Terminal
  3. press Enter to execute
  4. Check the demo-app-proto path main > wire for updates:

04.2-Stub​
  1. Open README.md > 2. Build Stub (Individual)
  2. find the command, parse to the Terminal
  3. press Enter to execute
  4. Check the demo-app path main > stub for updates:

04.3-Boot​
  1. Open README.md > 3. Run Application
  2. find the command, parse to the Terminal
  3. press Enter to execute
  4. Check the log print of demo-app

shell

----------------------------------------------------------Application 'demo-app' is running! Access URLs:Local                             http://localhost:18089/
External                          http://192.168.0.115:18089/
OAS                               http://192.168.0.115:18089/v3/api-docs
Actuator                          http://192.168.0.115:18089/management
Api-Errors                        http://192.168.0.115:18089/hope/meta/errors
Api-Dictionaries                  http://192.168.0.115:18089/hope/meta/dictionaries
Api-Authorities                   http://192.168.0.115:18089/hope/meta/authorities
Profile(s)                        dev
04.4-Check OAS​
  1. copy the url from the console
  2. enter them in the Chrome

ApiHug Tool Window​

ApiHug Tool Window should dock on the right side of the IDE, if not you can also bring it up from the top menu bar: ApiHug > ApiHug Designer:

🥳 Congratulations! You have successfully finished a perfect API development joinery!

Summary​

During the last 15-minute demo, we went through the typical steps involved in API design and development. These steps often include various trivial tasks that distract us from focusing on the core business logic design. However, with ApiHug, you can leave behind all the tedious and troublesome steps.

ApiHug automates these tasks and generates high-quality designs with a user-friendly and easily understandable structure and code details. In the upcoming lessons, we will delve deeper into exploring the capabilities of ApiHug.

In fact, the techniques used by ApiHug are not entirely new inventions. Platforms like Jhipster, Spring Starter, Grails, and Ruby on Rails have paved the way for similar approaches.

ApiHug builds upon the best practices and lessons learned from these predecessors, making them more practical and straightforward for everyday use. We acknowledge and appreciate the contributions of these platforms in shaping the foundation of ApiHug.

这篇关于Getting started - 英文版 - English Version的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/954853

相关文章

Maven创建项目中的groupId, artifactId, 和 version的意思

文章目录 groupIdartifactIdversionname groupId 定义:groupId 是 Maven 项目坐标的第一个部分,它通常表示项目的组织或公司的域名反转写法。例如,如果你为公司 example.com 开发软件,groupId 可能是 com.example。作用:groupId 被用来组织和分组相关的 Maven artifacts,这样可以避免

Jenkins 通过 Version Number Plugin 自动生成和管理构建的版本号

步骤 1:安装 Version Number Plugin 登录 Jenkins 的管理界面。进入 “Manage Jenkins” -> “Manage Plugins”。在 “Available” 选项卡中搜索 “Version Number Plugin”。选中并安装插件,完成后可能需要重启 Jenkins。 步骤 2:配置版本号生成 打开项目配置页面。在下方找到 “Build Env

Learn ComputeShader 09 Night version lenses

这次将要制作一个类似夜视仪的效果 第一步就是要降低图像的分辨率, 这只需要将id.xy除上一个数字然后再乘上这个数字 可以根据下图理解,很明显通过这个操作在多个像素显示了相同的颜色,并且很多像素颜色被丢失了,自然就会有降低分辨率的效果 效果: 但是这样图像太锐利了,我们加入噪声去解决这个问题 [numthreads(8, 8, 1)]void CSMain(uint3 id

Unsupported major.minor version 52.0 错误解决方法

自己前些天的项目突然出现这个问题,经过仔细排查,发现有两个原因都会导致这个问题。 第一个就是POM文件中的dependency重复,如果使用的是maven导入,重复写入dependency就会出现该错误。 第二个是版本不匹配,即所引用的jar包太新,并不匹配你的jdk,因为我们正常用的都是jdk7,但是现在已经更新到jdk10了,好多最新版本最新版本的jar包都是基于最新的jdk编写,所以可以

#error: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version

昨天编译文件时出现了Building MFC application with /MD[d] (CRT dll version)requires MFC shared dll version~~~~的错误。   在网上很容易找到了解决的方案,公布如下:   对着你的项目点击右键,依次选择:属性、配置属性、常规,然后右边有个“项目默认值”,下面有个MFC的使用,选择“在共享 DLL 中使

EasyConnect 现实 Harfbuzz version too old 解决方案

https://www.cnblogs.com/cocode/p/12890684.html

Update Azure OpenAI npm Package to 2023-12-01-preview Version

题意:将 Azure OpenAI npm 包更新到 2023-12-01-preview 版本 问题背景: I am currently using the azure-openai npm package in my project with version 2023-03-15-preview. As per the latest updates, version 2023-12

算法导论书本第3版_中文版和英文版_完整版本_带目录_PDF

整理的算法导论资源,下载链接: 中文版: http://download.csdn.net/download/u013359794/10231906 英文版: http://download.csdn.net/download/u013359794/10232121

Error:Undetermined Visual Studio Version

在编译PostgreSQL时遇到错误: ------          Unable to determine Visual Studio version: The nmake version couldnot be determined. at src/tools/msvc/Mkvcbuild.pm line 解决: 第一种方案:修改src\tools\msvc\VSObjectFacto