| Makers Academy | Week 5 | Friday Challenge |
|---|
The aim of this challenge is to develop a website that replicates the game rock paper scissors. This was built using Sinatra and deployed with Heroku.
Screenshots
Signing up on the homepage:
Choosing an option:
Getting the game result:

Staging app: http://immense-springs-8940.herokuapp.com/
Production app: http://nameless-depths-7882.herokuapp.com/
Clone the repository:
$ git clone git@github.com:michballard/rockpaperscissors.gitChange directory:
$ cd rockpaperscissorsInstall gems:
$ bundle installTo run on local browser:
$ rackupView on browser at:
http://localhost:9292/
Unit testing:
$ rspecIntegration testing:
$ cucumber- Ruby
- Rspec
- Sinatra
- HTML/CSS
- Capybara
- Cucumber
- Launchy
- Shotgun
- Heroku
- New Relic
New Relic allows the website owner to monitor applications that are in production environments with live traffic. The response time gives the average response time of calls across the application - in my example the app server response time is 68 ms and the browser response is 0.419 s. The metric for customer experience (Apdex score) shows how well the user is being served with a score towards 1 indicating that user’s request is falling within a reasonable time - in this case the app server score is 0.98 and the browser score is 1.0. Other useful indicators for user performance are that it provides the web transactions (including associated app server time) and the error rates.
