Challenge Overview
The goal of this challenge is to build a VERY simple UI to implement the following logic into our admin app.
- Provide a Spigit menu item on the left
- Provide the following fields user name, password, domain, community id and stage id.
- Once the above has been captured you can call the following spigit APIs.
- Authentication will be done via OAuth2, details provided in the forum. You should make these parameters configurable.
- You will dispaly a list of all ideas by making this call: https://domain.spigit.com/api/v1/communities/4/ideas?idea_stage=5 (where domain - use ifundit for testing, the community id - #4 in this case, and stage #5 is entered in the previous page). Provide a link to the the idea and link to it's data see the "rel": self or the idea link followed by the idea ID "https://ifundit.spigit.com/api/v1/ideas/35"
- When the idea is displayed show the title, the content (formated w/o HTML tags) and the creator's information by using this api call https://ifundit.spigit.com/api/v1/users/13 where the 13 is the creator_id from the ideas api response. Display the first name, last name and email address of the user.
- Make sure the new feature is usable on both desktop and mobile browsers.
- You must use UI State router best practives - separate states for list / detail / new
It's important that your submission works properly with the real environment, you will be provided a test account to access the dev api server.
Notes
- Please make sure that you are using best practices for Angular.js (for example: ui-router)
- Please check the admin-app-mock-api readme to see how you can get the admin-app running locally
- Please make sure you code is well documented
- Make sure the newly added pages have consistent look and feel with the admin-app (use similar style as the Submission page)
Technologies
- Node.js
- Angular.js
- HTML
- Elasticsearch
- Docker
- Java
Final Submission Guidelines
- Updated code with all requirements covered
- Verification guide
- Winner may be asked to send a merge request to our repo