charlottebrf / DoctorsWhoCode

My Time Manager: Your helpful time manager app created for CF: G Ruby course AW 2016 course competition project.
https://evening-lowlands-39707.herokuapp.com/
0 stars 0 forks source link

Make landing page interactive #4

Closed melikecode closed 7 years ago

melikecode commented 7 years ago
melikecode commented 7 years ago

Post request is working for creating a new activity (we proved the concept on 24 October by writing text to a file). However, I'm having trouble getting things to work for the activity logging. It doesn't seem to want to write the activity name to the test file (only the duration). I'm not sure if there's a problem with the data not coming in properly, and don't know how to print stuff in Terminal to find out where the problem is in the code.

melikecode commented 7 years ago

• Can I submit the log form (i.e. POST request or alternative method?) YES

• Is the submitted log information written to a JSON file (i.e. "logged-activities")? YES

• Does the submitted log data include number of minutes, activity, date-time entered? YES - DATE NOT TIME FOR NOW

• Does the submitted information show in the correct fields/format in the JSON file? YES

melikecode commented 7 years ago

All requirements met.