Basic webhook server built with Sinatra in Ruby.
478
This project is a basic web server built with Sinatra in Ruby. It provides an HTTP GET endpoint that returns a "Hello World" message in JSON format.
HTTP Endpoint:
/webhook{"message": "Hola Mundo desde Webhook en Ruby"}Server Configuration:
45670.0.0.0 (accessible from all network interfaces)A list of technologies used within the project:
Follow these steps to install and run the project:
Ensure you have ruby and bundler installed on your machine:
ruby --version
gem install bundler
Copy the repository
git clone https://github.com/nava2105/rb_webhook.git
Enter the directory
cd ../rb_webhook
Install the dependencies using Bundler:
bundle install
Compile the project directly form mvn
ruby app.rb
Open a browser and enter to http://localhost:4567/webhook
Pull the image from Docker-hub
docker pull na4va4/rb_webhook
Start a container from the image
docker run -p 4567:4567 na4va4/rb_webhook
Open a browser and enter to http://localhost:4567/webhook
Or to review the endpoints in Swagger enter to http://localhost:4567/docs
Content type
Image
Digest
sha256:77e3c90e3…
Size
376.8 MB
Last updated
almost 2 years ago
docker pull na4va4/rb_webhook