Skip to content

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

License

Notifications You must be signed in to change notification settings

jellydn/hapi-demo

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published