Fun Series - Hybrid mobile - Survey App Challenge - Binding with Mock Server

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Project Overview

We are launching a series of fun Challenges, intended for learning new technology and topcoder platform. This is second challenge of the series. 

Important :

This is a fun and learning challenge. No prizes will be awarded for completing the challenge.


Business Requirements

“Fun&Learn” company wants to develop a survey solution. FunAtLearn have identified Salesforce.com as their desired platform to implement the solution and also they want hybrid mobile app for user. We will help them build the survey application, across a series of challenges. In this second challenge, we will help them build hybrid mobile app basic structure.

Help Documentation

Step by step approach starting with ionic hybrid 

Ionic Documentation

Technical Requirements

You can continue with your last submission or if you are new you can clone repo from gitlab 

The last challenge link is here

1. Update factory to use mock json. 

Update factory code on service.js file to replace static survey json with mock json service and create a new factory for questions. 
Reference link : https://gitlab.com/sandeepkhoj1/FunAndLearn-Phase2/raw/531a66d0b8053183907c9154efb571aad1da65eb/www/js/services.js

2. Create new page for question wizard.

Now we will show question wizard on click of “launch wizard” button. So we are going to create a new page for Question Wizard. Create a new html file on www/template folder with name “questions.html”

Reference link : https://gitlab.com/sandeepkhoj1/FunAndLearn-Phase2/raw/531a66d0b8053183907c9154efb571aad1da65eb/www/templates/questions.html

3. Update Application route. 

To bind new question.html page we need to update application route on app.js file.

Reference link : https://gitlab.com/sandeepkhoj1/FunAndLearn-Phase2/raw/531a66d0b8053183907c9154efb571aad1da65eb/www/js/app.js

4.  Update Survey Controller and Create Question Controller to use new factory.

You need to update existing Survey Controller and create new controller for Question in controller.js file to use new updated factory.

Reference link : https://gitlab.com/sandeepkhoj1/FunAndLearn-Phase2/raw/531a66d0b8053183907c9154efb571aad1da65eb/www/js/controllers.js

5. Bind Wizard on “Launch Wizard” button.

Update survey-detail.html file to bind newly created wizard page on “Launch Wizard” button.

Reference link : https://gitlab.com/sandeepkhoj1/FunAndLearn-Phase2/raw/531a66d0b8053183907c9154efb571aad1da65eb/www/templates/survey-detail.html



Final Submission Guidelines

Create zip file of your code and submit the zip.

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30050837