edit-task
Home
Up
Delete
Task Name:
Task Description:
5260 - initial application setup
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">prj-4800 - v-001</h1> <h2>[previously]</h2> <ol> <li><strong>[REFERENCE] </strong></li> <ol> <li>] # 5218 - learn node on windows</li> <li>] # 4800 - <a href="/view/task?id=4800" target="_blank">project-PASS</a></li> <li>] # 4800-DATA - project PASS data</li> </ol></ol> <h2>[currently]</h2> <ol> <li> <div><strong><span style="background-color: #888888;">[2015-06-01]</span> nodeStarter - UPDATE routes</strong></div> </li> <ol> <li> <div>] PAGE routes - add route to selections page (which is a jade template)</div> </li> </ol> <li> <div><strong>[2015-06-01] nodeStarter - NEW FILE selections</strong></div> </li> <ol> <li> <div>x] NEW PAGE selections.js - based on index, renders (hardcoded) list of 5 drivers aka current weeks selections</div> </li> <li> <div>?? .jade = templating engine</div> </li> </ol> <li> <div><strong>[reference] <a href="http://jade-lang.com/" target="_blank">jadejs</a> </strong></div> </li> <ol> <li> <div>*] node template engine</div> </li> <li> <div>] new pages extend layout ( layout is like an include template, has page title, scripts, )</div> </li> </ol> <li> <div><strong>[00:00] PAGE - layout</strong></div> </li> <ol> <li> <div>x] edit - "menu" to add an option for "selections"</div> </li> <li> <div>*] indentation - if not inline, style doesnt apply propery</div> </li> <li> <div>x] edit - __ from: "your logo here" to: PASS by sospep.com</div> </li> <li> <div>x] edit - "title"</div> </li> </ol> <li> <div><strong>[07:00] NEW task</strong></div> </li> <ol> <li> <div>x] create new subdomain, "nascar.sospep.com"</div> </li> <li> <div>x] new website</div> </li> <li> <div>x] download "publish" profile</div> </li> <li> <div>+] creds</div> </li> </ol> <li> <div><strong>[07:30] NEW task IN</strong></div> </li> <ol> <li> <div>x] # # - PUBLISH upload - site nodeStarter to nascar.sospep.com</div> </li> </ol> <li> <div><strong>[08:00] NEW task IN</strong></div> </li> <ol> <li> <div>x] ERROR webmatrix upload test - error nojejs - test failed, contact webhosting provider</div> </li> </ol> <li> <div><strong>[08:30] NEW task IN </strong></div> </li> <ol> <li> <div>] # # - upload site to</div> </li> <li> <div>] # # - test = fail generic 500 internal server error</div> </li> </ol> <li> <div><strong>[09:00] NEW task IN </strong></div> </li> <ol> <li> <div>] # # - enable error details</div> </li> <li> <div>*] different generic error, b/c not using asp.net proper</div> </li> </ol> <li> <div><strong>[10:00] NEW task IN</strong></div> </li> <ol> <li> <div>x] # 5212 - support ticket arvixe</div> </li> </ol> <li><strong>*] NOTE home "route"</strong></li> <ol> <li>x] contains list of PAGE, each page has options, ex = title</li> </ol> <li> <div><strong>[00:00] routes</strong></div> </li> <ol> <li>x] ADD options - for x] rankings, x] results</li> </ol> <li> <div><strong>[00:00] menu </strong></div> </li> <ol> <li>x] ADD options for ] rankings</li> </ol> <li> <div><strong>[00:00] menu </strong></div> </li> <ol> <li> <div>x] REM chat function</div> </li> </ol> <li> <div><strong>[00:00] PAGE - rankings</strong></div> </li> <ol> <li> <div>] complete list of all drivers ( pass 1 = get entry list THEN assign averageAtTrack score)</div> </li> </ol> <li> <div><strong>[00:00] NEW PAGE - results</strong></div> </li> <ol> <li> <div>x] add table with sample results</div> </li> </ol> <li> <div><strong>[00:00] PAGE - css</strong></div> </li> <ol> <li> <div>x] add NEW style for table</div> </li> </ol> <li> <div><strong>[2015-06-02] NEW task IN FRUSTRATION - </strong><strong>getJSON data from third party api url (aka an api endpoint)</strong></div> </li> <ol> <li> <div>] research - getjson from api call - grrrrrrrrrrrrrrrr, cc BM collection</div> </li> <li> <div>] something so simple, why am i having some much trouble</div> </li> <li> <div>] maybe b/c - node + express + jade + route ++++</div> </li> </ol> <li><strong><span style="background-color: #888888;">[2015-06-03]</span>[00:00] small success # 1 - hardcoded .json, in file(route/home.js), passed into template for "view/rankings aka "</strong></li> <ol> <li>x] search github for example code</li> <li>x] found this which referred to this blog post <a href="http://blog.modulus.io/nodejs-and-express-create-rest-api">http://blog.modulus.io/nodejs-and-express-create-rest-api</a></li> <li>>] FILE:home DEFINED var quotes = {validjson:"values", [...]} by manually pasted the json var named "quotes" INTO THE routes/Home file</li> <li>>] ADDed var quotes to parameters passed in the CALL to res.render()</li> <li>x] HAD route for /'rankingsD'/ which is the working file for rankings, this is a call to render the rankingsD template</li> <li>x] FILE:rankingsD - set h5=quotes.author[0],</li> <li>***</li> <li>*] res.json(quotes) - sends file to browser</li> </ol> <li><strong>[2015-06-03] </strong><strong>small success # 2 - FILE </strong>template<strong>: rankingsD</strong></li> <ol> <li>x] replace hardcoded text with loop</li> <li>x] loop through array of data set(quotes) passed into template</li> <li>*] <a href="http://jade-lang.com/reference/iteration/" target="_blank">http://jade-lang.com/reference/iteration/</a> </li> <li>]</li> </ol> <li><strong>[2015-06-03] getJSON data from third party api url (aka an api endpoint)(contd)</strong></li> <ol> <li>] TRY get data in the route method, to the page</li> <li>] TRY getting 'data' inside the route / method, to the page, then pass the results into the page OR ....</li> <li>] PRB - undefined, no errors, CANT get the response from the url,</li> <li>] cc art - getting data from api endpoint into your node app</li> </ol> <li><span style="background-color: #888888;"><strong>[2015-06-04]</strong></span></li> <ol> <li>] unpack example-sanderson project into into //my web stuff</li> </ol> <li><strong>[2015-05-04] NEW task IN</strong></li> <ol> <li>] # 5231 - CREATE-article# # - example - code - bluepage</li> <li>*] have rankingsD.js,</li> </ol> <li><strong>[2015-06-04] NEW task - CREATE-article</strong></li> <ol> <li>] # 5232 - VIDEO-Summary - sanderson on node</li> </ol> <li><strong>[2015-06-10] NEW task IN</strong></li> <ol> <li>] # # - FINALLY got data from api call properly (using request module, code from ex # 5275 - )</li> </ol> <li><strong>[2015-06-11] NEW task IN</strong></li> <ol> <li>] # 5257 - expressjs - x] update notes from src, x] try implementing modules in PASS app</li> </ol></ol> <h2>[next]</h2> <ol> <li>]</li> </ol>