Congrats on making it this far into the application process!
Upload this code to a PRIVATE repository on GitHub.
The goal of this test is to ensure your proficiency with
- Tailwind CSS
- Vue
- Nuxt
- TypeScript
We also want to give you the chance to demonstrate techniques you would use to:
- Maximize application performance
- Ensure good site SEO
- Test Vue components
# Install deps
npm install
# Start up dev server
npm run dev
Visit the running application in the browser and click the "Setup Database" button.
The application you'll be building for this test is the front end of a blogging platform. The api endpoints are documented within the docs
directory.
You should code out the following features:
- A listing of all the blog posts at
/posts
a. The results should be paginated 10 to a page (choose the pagination strategy of your choice... ie. traditional button pagination or infinite scroll, etc) b. List the posts with performance in mind, only fetching the data needed to display each post c. Ensure post images are displayed at the optimal size with NuxtImage d. Encapsulate logical page components into Vue components for easy re-use e. Supply controls to the user to sort Newest to Oldest or Oldest to Newest f. Ensure the sort order works with a query string variable of your choice to enabling sharing of the page with the sort order in tact - A dedicated page for each blog post displaying it's content, image, tile, and author a. Make sure you address SEO b. Once again, consider performance c. Show a 404 page for posts that don't exist
The gif below is a visual example of how we solved the same challenge. Feel free to style similarly or come up with your own look.
Thank you for completing this challenge. Kindly inform us when you have finished, and we will proceed to review your code. Make sure to add VueSchoolTester to the list of collaborators for your private repository.
Best of luck!