MyMood-Alexa / MyMood-Interface

0 stars 2 forks source link

[DI-2.5] Test compatibility of sample jsons #12

Closed jtam360 closed 5 years ago

jtam360 commented 6 years ago

Test sample jsons to make sure the data is displayed correctly in the table.

-Login should be able to be faked -Main page should accept and display json data with expanding feature -Start an AWS account and start testing remotely instead of locally connects #14 child of #14

jtam360 commented 6 years ago

The login is able to be faked with a fixed username and password, it redirects the user only when they enter the correct parameters, otherwise we display an error message for them: login_demo.png

In the future I am going to try to improve the error message with bootstrap form validation that should look something like this: validation_demo.png

The expanding feature we can demo for now allows the user to select a session id to redirect to a new page which displays the rest of the data, it currently is formatted as such: session_demo.png

The expand alternative we were thinking about is just a button for each row that when clicked would display the rest of the responses and should function like this: expand_demo.jpg

I got the local database functioning but haven't added the tables/loaded the sample json yet. My laptop insisted on updating windows so I'm waiting for that.

Moving the server remotely I was looking into Amazon EC2 and S3. I wanted to use S3 to test remotely but had second thoughts because I wasn't sure if we can implement the security features we planned. S3 is also specifically for static websites and ours is dynamic. Right now I'm thinking of using S3 for testing.

dionwu110 commented 5 years ago

We created a server and tested with some sample data in a JSON file that is stored on the server which will display a table listing out the attributes that we need. database.JPG

Our expanding feature is now that when the researcher clicks on a session ID, they will be able to look at all responses during that session. ViewSession.JPG