关闭

ruby sinatra quine

这项目被授予 rakoty ,费用为$40 USD

为像这样的项目获取免费报价
雇主工作
项目预算
$10 - $30 USD
全部竞标
1
项目描述

Build a Sinatra app.

The app should respond to the endpoints:

/home

/code.

To test the /code endpoint I should be able to run the command:

curl [url removed, login to view]

…and receive the JSON response:

{ "code": "the source code of your app" } --> this is called a quine

To test the \home endpoint I should be able to visit [url removed, login to view] in a web browser and see...

- The Main section which at first is blank

- numeric count down from 3 to 1 in the middle of the main section

- at the end of the countdown make an ajax request to your /code endpoint to get the source code of your app

- display your source code in the main section with proper formatting and syntax highlighting

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online