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

https://github.com/slashpai/hello_world

A basic sinatra app
https://github.com/slashpai/hello_world

Last synced: 6 months ago
JSON representation

A basic sinatra app

Awesome Lists containing this project

README

          

# Hello World App

Based on learnings from [Udacity course](https://www.udacity.com/course/dynamic-web-applications-with-sinatra--ud268) and reading [documentation](http://sinatrarb.com/documentation.html)

## Steps

* Go to directory `hello_world`

* Install bundler if not already

```bash
gem install bundler
```

* Install required gems

```bash
bundle install
```

Run `ruby app.rb` and hit [url](http://localhost:4567) to see the page on browser

**Note:** This app on master branch is based on [modular style](https://github.com/sinatra/sinatra/#sinatrabase---middleware-libraries-and-modular-apps). A basic format in classic style is in branch **classic_style**