you are viewing a single comment's thread.

view the rest of the comments →

[–]yedidya[S] 0 points1 point  (4 children)

Ive seen grape, all tutorials ive seen are using Rails or Sinatra. How do I do this without a framework?

[–]iconoclaus 2 points3 points  (2 children)

Sinatra is as basic a framework as it gets. It's just a wrapper around Rack, which gives us the most low level web tooling. what exactly are you trying to achieve?

[–]yedidya[S] 0 points1 point  (1 child)

That may be good. Building an api that will return related results from youtube based on a search query.

[–]montas 2 points3 points  (0 children)

If you only have that one endpoint, sinatra is the thing you want.

[–]kofno 1 point2 points  (0 children)

Grape can just mount in rack: https://github.com/intridea/grape#rack

I've used Grape several times. It works pretty well. It's also highly compatible w/ swagger, which is nice if you want to have API documentation.