[Solved] COEN278 Assignment 2-Sinatra

$25

File Name: COEN278_Assignment_2-Sinatra.zip
File Size: 263.76 KB

SKU: [Solved] COEN278 Assignment 2-Sinatra Category: Tag:
5/5 - (1 vote)

In this assignment, use Sinatra web development framework, to implement a simple bet web application.

You web application will create these different views:

When user come to the gambling site, user is presented with a login in view. The login/password information are in a database table as plain text. (you need to initialize this table in advance)

if user is logged in, user is presented with a view for betting (just like the example in class except user use a form to submit bet information) you will display text showing if user has won or lost. also in this view, you will also need to show two set of data,

one set is on the left, these are total values during this logon session these values are 0 after login, and will be saved in session hash,
but after logout, you need to add these to the database table,

The value in database table are total values for this user since first time login.

so each time the user login, you will retrieve these values from database table and display them at the bottom.

and each time user logout, you need to add session value into these value and restore in the database table. the logout button will clear the session and return to login page.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] COEN278 Assignment 2-Sinatra
$25