> For the complete documentation index, see [llms.txt](https://certil-remy.gitbook.io/learn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://certil-remy.gitbook.io/learn/sinatra/untitled-3.md).

# Sinatra Hello World Basics (lab)

## Objectives

1. Create a basic Sinatra application.
2. Write a `get` method.
3. Render a string from that `get` method.

## Instructions

Fork and clone this repository and run `bundle install` to get started!

On your local environment (not in the IDE), run `shotgun` to start a local server so that you can test your app in your browser. Shotgun default is using port 9393, you should be able to visit the following url `http://localhost:9393`.

1. Write a `get` method in the `app.rb` file to respond to the root URL '/'.
2. The `get` route should respond with the string `"Hello, World!"`.

You can run `learn` to see error messages.

## Resources

[Sinatra Basics](https://github.com/learn-co-curriculum/sinatra-basics)

Clone this lab here : <https://github.com/learn-co-curriculum/sinatra-hello-world-basics>
