Skip to content

learn-co-students/sinatra-hello-world-basics-nyc-web-060319

Repository files navigation

Sinatra Hello World Basics

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

View Sinatra Hello World Basics on Learn.co and start learning to code for free.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages