Skip to content

bluestacks/frontend-developer-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

Frontend Developer Challenge

Implement a web page, which contains 3 tabs (Upcoming Campaigns, Live Campaign, Past campaigns) as defined in the following mockup.

alt text

  • Each tab should show relevant data based on the status of campaign (upcoming, live, past).
  • The very first column should show the time diff from today to that campaign's date. (You can consider any date. If the date is in the future, you can show the number of days in the future. For example, "23 days ahead")
  • Add functionality to reschedule a campaign by opening a calendar on clicking the Schedule again icon. (Whatever date you select, should be shown in the first column named "Date". The time diff shown against it should also be updated).
  • Once the date is changed of campaign. The campaign should move to the relevant Tab (Upcoming,Live,Past) , based on the date selected.
  • Clicking on View Pricing in the row should show a modal with relevant information of the campaign. See the design in the Specs section below
  • Entire UI should be responsive.. Please use your judgement on how it should look on mobile devices
  • UI should be same regarding color schemes and layout, button states etc. The assets are provided in the Specs section
  • Please use dummy json to populate the table. For reference you can see the Need Help? section below
  • You should use a modern frontend framework like ReactJS, AngularJS, VueJS etc to implement this.
  • It should support basic localization of strings in 2 languages. There should be a button to select between different languages. (Optional bonus point)

Deliverables

Once you are done, please share with us:

  1. Source code link (GitHub, BitBucket, etc)
  2. URL where you have deployed the project. You need to deploy the WebApp on some cloud platform and provide us the URL for the same. This step is very important
  3. Share the testcases for how you will test this Webpage in following format
Description Execution steps Expected output
Localization Select German language from Language selector dropdown Header data,x days ago,x days ahead,Tabs text should be shown in german
Campaign Date change Select today's date in Past Campaign tab for any campaign The campaign should be removed from Past campaign tab and appear in Live Campaign tab

Important things

  • Modularize your code well. Putting everything in one file is not good.
  • Use external DB/cache if required. Storing on local files and local variables is not desirable.
  • Put proper comments in code , so that we can understand the function usage etc..

Specs

Need Help?

  • Sample json to render the data
{
  "data": [{
      "name": "Test Whatsapp",
      "region": "US",
      "createdOn": 1559807714999,
      "price": "Price info of Test Whatsapp",
      "csv": "Some CSV link for Whatsapp",
      "report": "Some report link for Whatsapp",
      "image_url":"Some image url of the campaign" 
    },
    {
      "name": "Super Jewels Quest",
      "region": "CA, FR",
      "createdOn": 1559806715124,
      "price": "Price info of Super Jewels Quest",
      "csv": "Some CSV link for Super Jewels Quest",
      "report": "Some report link for Super Jewels Ques",
      "image_url":"Some image url of the campaign"
    },
    {
      "name": "Mole Slayer",
      "region": "FR",
      "createdOn": 1559806711124,
      "price": "Price info of Mole Slayer",
      "csv": "Some CSV link for Mole Slayer",
      "report": "Some report link for Mole Slayer",
      "image_url":"Some image url of the campaign"
    },
    {
      "name": "Mancala Mix",
      "region": "JP",
      "createdOn": 1559806680124,
      "price": "Price info of Mancala Mix",
      "csv": "Some CSV link for Mancala Mix",
      "report": "Some report link for Mancala Mix",
      "image_url":"Some image url of the campaign"
    }
  ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published