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

相关文章

Java compiler level does not match the version of the installed Java project facet. map解决方法

右键项目“Properties”,在弹出的“Properties”窗口左侧,单击“Project Facets”,打开“Project Facets”页面。 在页面中的“Java”下拉列表中,选择相应版本就OK了。

由于jdk版本问题引起的Unsupported major.minor version 52.0

tomcat启动报错 错误日志信息: 三月 01, 2019 9:47:02 下午 org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext 三月 01, 2019 9:47:08 下午 org.apache.catalina.core.Standard

Windows 11 version 23H2 中文版、英文版 (x64、ARM64) 下载 (updated Jun 2024)

Windows 11 version 23H2 中文版、英文版 (x64、ARM64) 下载 (updated Jun 2024) Windows 11, version 23H2,企业版 arm64 x64 请访问原文链接:https://sysin.org/blog/windows-11/,查看最新版。原创作品,转载请保留出处。 作者主页:sysin.org Windows 11

System.Runtime, Version=6.0.0.0,生成的dll使用出现错误问题

解决: 1.unity左上角file点击选中build settings 点击player settings ,然后在player的window的other settings的configuration更改为 Framerwork 其实这个不换也可以的,我后面调试完,发现这个不是重点,下面第2点才是重点 2.然后vscode创建项目确保为framework 版本默认即可,如果选择sta

android (No cached version available for offline mode)----bug解析处理

错误日志 Execution failed for task ':base:generateDebugRFile'.> Could not resolve all files for configuration ':base:debugCompileClasspath'.> Could not download core-1.3.0.aar (androidx.core:core:1.3.0)

zabbix出现active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to

出现active check configuration update from [127.0.0.1:10051] started to fail (cannot connect to [[127.0.0.1]:10051]: [111] Connection refused),直接编辑zabbix_agentd.conf(vi /usr/local/zabbix/etc/zabbix_agen

com/android/dx/command/dexer/Main : Unsupported major.minor version 52.0

如果你在开发过程中遇到了上述的Bug,基本上是JDK版本不一致造成的,指的是高版本的JDK编译的class不能放在低版本的JDK上运行。 如果是Version 52,就表示JDK8编译的class不能运行在JDK7上,所以需要在本地安装JDK8. 如果是Version 51,就表示JDK7编译的class不能运行在JDK6上,所以需要在本地安装JDK7.

Could not load file or assembly 'vjscor, Version=2.0.0.0, Culture=neutral, 问题解决方法

未能加载文件或程序集 “System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes” 或它的某一个依赖项。给定程序集名称或基本代码无效。 (异常来自 HRESULT:0x80131047)  说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟

Hadoop升级失败,File system image contains an old layout version -64

原始版本 Hadoop 3.1.3 升级版本 Hadoop 3.3.3 报错内容如下 datasophon 部署Hadoop版本 查看Hadoop格式化版本 which hadoop-daemon.sh/bigdata/app/hadoop-3.1.3/sbin/hadoop-daemon.sh 删除原来的旧版本 rm -rf /bigdata/app/hadoop-3.1.3 查看环

解决ssh: relocation error: ssh: symbol EVP_aes_128_str, version OPENSSL_1.0.1 not defined

在ubuntu上安装了google pinyin,然后重启了linux,发现ssh不能用了。。。 在终端上输入: ssh -V 报错: ssh: relocation error: ssh: symbol EVP_aes_128_str, version OPENSSL_1.0.1 not defined in file libcrypto.so.1.0.0 with link tim