Skip to content

tooleks/shevchenko-http

Repository files navigation

shevchenko HTTP API

This repository provides an example of HTTP API for shevchenko library.

Requirements

Installation

To start Docker container, run the following command:

docker-compose up

Open http://localhost:3000 in a web browser to verify installation.

Examples

HTTP request example:

POST http://localhost:3000/vocative
Content-Type: application/json

{
    "gender": "masculine",
    "givenName": "Тарас",
    "patronymicName": "Григорович",
    "familyName": "Шевченко"
}

HTTP response example:

{
    "givenName": "Тарасе",
    "patronymicName": "Григоровичу",
    "familyName": "Шевченку"
}

More examples in test.http.

About

HTTP API for shevchenko library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published