An open API service indexing awesome lists of open source software.

https://github.com/userrails/hello-world

hello world app with ruby, sinitra and rspec
https://github.com/userrails/hello-world

Last synced: 3 months ago
JSON representation

hello world app with ruby, sinitra and rspec

Awesome Lists containing this project

README

        

# How to run the program

- This program is build using ruby, so install ruby from https://www.ruby-lang.org/en/documentation/installation/
- Make sure ruby is installed by running `ruby -v`, Now change directory into project root example `cd ~/console-app`
- Run `bundle install` to install all dependencies
- Run `Hello World` console application with `ruby hello_world.rb`
- Run `api` application with `ruby api/hello_world.rb`, it will run server in port `4567`, so you can visit api at http://localhost:4567
- We are using `rspec` for writing testcases, run test cases with `rspec`