Skip to content

Latest commit

 

History

History
94 lines (59 loc) · 2.87 KB

README.md

File metadata and controls

94 lines (59 loc) · 2.87 KB

Welcome to hapi-demo 👋

Prerequisite Documentation License: MIT Twitter: jellydn

Overview

A simple Hapi server for demonstration purposes, designed to work with Hurl for testing HTTP requests.

IT Man - Building and Testing a #Hapi Server with #Hurl: A Step-By-Step Demo [Vietnamese]

Prerequisites

  • Bun installed on your system.
  • antfu/ni 💡 Use the right package manager.

🚀 Quick Start

Installation

ni

Usage

Start the development server:

nr dev

Or run with docker compose:

docker network create web
docker-compose up

Run tests using Hurl:

nr test

📸 Screenshots

Demo

Testing with Hurl

Hurl Test

✅ Testing

Run tests using Hurl:

hurl --test tests/todo.hurl

For verbose output:

hurl --verbose tests/todo.hurl

📚 Resources

👤 Author

👤 Huynh Duc Dung

🌟 Show Your Support

If this project has been helpful, please give it a ⭐️.

kofi paypal buymeacoffee