Authored by Benjamin Wong

Contact: [email protected]

Q10. Frontend coding

image.png

  1. Because of limited time and this is an unpaid coding task, I only focus on main function. I didn’t setup full environment, write tests, git branchs, package, or use Axios with class style etc.

  2. Github: https://github.com/yben56/uwow_frontend

  3. Preview

    image.png

    image.png

Q11. Please describe how to build the following blog in Javascript. No backend code. No database.

image.png

  1. use Ajax async await (axios in VUE) get JSON and render with Loop
  2. ‘Add New’ button' Javascript onClick to trigger Modal Component
  3. Form required: v-model, validation, use ajax/axios send to backend API
  4. If fail, display error message on page
  5. If success append(prepend) post data into current variable object, Vue will auto render

Q12. Please use PHP/Laravel to design the backend code, APIs and database structure for above blog. Please include code for: Create, Update, Delete, Sort, Search, Set Active, Set Inactive, Ordering. Put the final code on Github. Please use functions such as orm, and migrations.