Challenge Overview
This challenge is part of a series of challenges to refactor csfv_frontend_module to use AngularJS in frontend.
You are updating csfv_frontend_module in this challenge, branch master.
Challenge Requirements
You will address the following in this challenge :
-
Merge /science page angular app with the main angular app https://github.com/topcoderinc/csfv_frontend_module/blob/master/public/ng/main.js
-
Fix the JS errors, the main functionality :
-
Searching
-
Social Drop Downs in header
-
Event Banner
-
Subscribe Email
-
Sign In
-
Any other JS error appear in browser console for logged in and non logged in users.
-
-
-
Update all AngularJS apps to be merged into the main app https://github.com/topcoderinc/csfv_frontend_module/blob/master/public/ng/main.js
-
/dynamakr page is out of scope.
-
Update angularjs main app to use resolvers for initial data load for science page. Refer to existing page for reference.
-
There is a bug in IE browsers when retaining data, it seems IE caching issue with angularjs, please provide a fix.
-
It should be a global fix, i.e. appending a timestamp as parameter in every outgoing call to backend.
-
-
Cleanup angularjs code that is not needed.
-
Follow this document for AnguarJS best practices :
-
all frontend Angularjs files should be placed under /public/cms folder in csfv_frontend_module.
-
-
We are open to your creativity for refactoring the functionality.
-
Update test data generator if needed.
Documentation Provided
-
The deployment guide of the CSFV website located in the github private repos, in README file. Ask questions in challenge forums. if you have troubles deploying the websites.
Source Code
Source code exists in private github repo https://github.com/topcoderinc/
If you get 404 then you need permission to access it. Request it in challenge forums, copilot will add you to the repository and you should receive email about you being added to github. Post your *github* account name when requesting access.
-
csfv_frontend_module (use master branch)
-
csfv_gaming_api_module (use master branch)
-
csfv_oauth_server_module (use master branch)
-
csfv_test_data_generator (use master branch)
-
csfv_backend_module (use master branch)
Get Started
You need to run the following to get CMS running and Frontend application pages up :
-
Checkout csfv_test_data_generator
-
Update db configuration in config/development.js, you don’t need to change it if you are using localhost in default port, and no username/password.
-
Run ‘npm install’
-
Run ‘node app.js’
-
Kill the app when you see ‘generation done.
-
Checkout csfv_frontend_module
-
Update configuration following README.
-
run ‘npm install’
-
run ‘node app-sockets.js’
-
run ‘node app.js’
-
access http://csfv.com:8889/
-
You might need to configure your hosts file to point csfv.com to 127.0.0.1
-
Final Submission Guidelines
Submission Deliverables
Below is an overview of the deliverables:
-
Patch file of changes.
-
Deployment document with verification screens for reviewers.
Final Submission
For each member, the final submission should be uploaded to the Online Review Tool.