Skip to content

Latest commit

 

History

History
96 lines (65 loc) · 3.4 KB

README.md

File metadata and controls

96 lines (65 loc) · 3.4 KB

Welcome to huma-demo 👋

Welcome to huma-demo, a modern, simple, fast, and flexible micro-framework for building HTTP REST/RPC APIs in Golang. It is backed by OpenAPI 3 and JSON Schema, providing a robust and standardized approach to API development.

Exploring Huma with IT Man: A Journey Through Modern Micro-Frameworks

Demo

Prerequisites

Before getting started with huma-demo, make sure you have the following tools installed:

Make sure these tools are installed and properly configured on your system before proceeding.

Usage

To get started with huma-demo, simply run the following command:

make dev

Run dev

This will start the development server and allow you to test your API locally.

Test

To run the tests for huma-demo, you can use the following commands:

make test
make test-report # Run e2e tests with hurl and generate a report
make test-coverage

Run test

These commands will run the unit tests and generate a coverage report, respectively.

More usages

To view the available commands and their usage, you can use the following command:

make help

This will display a list of targets and their descriptions, helping you navigate the project.

Usage: make [target]

Targets:
  dev                Run the application in development mode
  tidy               Update project dependencies
  test               Run unit tests
  test-coverage      Run unit tests with coverage
  test-report        Run end-to-end tests and generate a report
  view-test-report   View the generated test report
  generate-openapi   Generate OpenAPI specification and add it to Fern
  generate-fern      Generate Fern
  generate-go-sdk    Generate Go SDK
  help               Show this help message

Resources

Author

👤 Huynh Duc Dung

Show your support

Give a ⭐️ if this project helped you!

kofi paypal buymeacoffee