NodeJS / Express / NoSQL JSON
We are duplicating the process at SnapScore.me.
Please provide timeline to complete project. Quotes are averaging 15 – 25 hours. If I could get this done within the next day or two – it would be perfect. This is phase one – phase two is integration with BlockScore API : http://docs.blockscore.com/v4.0/curl/#introduct... . We want to get to phase two by the end of next week. Phase three is integration with stripe https://stripe.com/docs/stripe.js. We want to get to phase three within three weeks.
You will be provided access to IBM DevOps to edit code or do locally and send to me. I can push code to server via cloud foundry commands.
Create three page NodeJS runtime application with Express
Page 1 – Form Intake (registration)
Page 2 – User Portal (single page) / http://vs3server.mybluemix.net/index.html
Page 3 – Login screen
Database (VCAP_SERVICES authentication)
Cloudant NoSQL or
dashDB (jdbcurl / db2) connection
View template via EJS (will be converted to jade in version 2)
User completes first form box with 10 – 15 variables and presses submit (user/password verification) (form customized from this layout - http://vs3server.mybluemix.net/form-wizard.html) Form variables will expand from first form of https://vectorscore.com/juniper4/index.php/form-.... I will add more variables that are seen below.
These variables are stored in database via JSON POST using these variables http://docs.blockscore.com/v4.0/curl/#create-a-.... We will not use BlockScore API at this time, but the variables need to be the same for future use.
User completes forms two, three, and four with conditional variables and presses submit and awaits a response from server. Here are the questions asked for these variables : https://vectorscore.com/juniper4/index.php/form-.... Designed and flow from http://vs3server.mybluemix.net/form-wizard.html.
Variables from pages two, three, and four are sent to database via JSON POST with numbers assigned to each form variable (similar to a questionnaire) – script1.js. script1.js pulls data number variables from database and puts the numbers into an equation in script2.js. Script2.js outputs a number and stores the number back to database via POST – check if number has been previously generated and PUT in this case.
User sees number generated by script2.js (dynamically generated).
User is in simple, single page user portal with score from script2.js pulled from database (shown via http://vs3server.mybluemix.net/index.html). User has access to change email and password but can only view other variables. User can logout.
This application runs very similar to http://snapscore.me. You can see the flow they implemented.