Skip to content

rahul3v/fullstack-candidate-testing

Repository files navigation

fullstack-candidate-testing

Sample View

Instructions

  1. Initialize a .git repo here. Then clone the main branch and use the following naming convention for the new branch: firstname-lastname-YYYY-MM-DD. If your name is John Doe, and today's date is 2021-01-17, then the new branch should be called john-doe-2021-01-17.
  2. The repo has 2 folders. /data and /screenshots.
  3. In the /data folder you will find 2 .json files. This is the data you will use to build the Next.js app. You have to build a simple REST API to consume the data using the Next.js API routes.
  4. In the /screenshots folder you will find the views you are required to build for this test.
  5. You must use Next.js and TailwindCSS for this test.
  6. The search input on top of the page should work. The search index should be built using the /data/jobs.json file.
  7. Sort by options on top of the page should sort in 3 states per each filter: ascending, descending or remove the sorting operation.
  8. Sort by options should work simultaneously with other sort by options and with the search input if the user is searching for something. This means that the user could sort for example by Location:asc, Department:asc while searching for a Nurse in California.
  9. Ensure your code can work with unstable internet connection (see in pages/api/jobs.js)
  10. Implement unit tests for API at the server-side

After you're done:

  1. Push your code to your own github account
  2. Deploy your branch to a public url. We recommend you use Vercel, Netlify or AWS S3, but you're free to use any other service as long as the url is publicly accessible. This step is mandatory.
  3. Include a README with the installation instructions and with the publicly accessible url.
  4. Don't forget to let us know you're done to review your test. Make sure your github repo access is public and send us the url.

The fine print:

  • Please keep it simple. We really don't like complicated setups.
  • Try to replicate the original designs as much as possible.
  • Functional components only please.
  • For interactions in the Next.js app you're free to use reducers, individual component state, url query strings or any other library, but again, please keep it simple.
  • Typescript use is OK but not required.
  • SCSS use is not required nor needed. It is OK to include compiled Tailwind CSS files or CDN urls.
  • This test shouldn't take you more than 4-6 hours to complete.

Important

The screenshot files are for reference only. The Next.js app you are required to build has to look like these screenshots, but we don't expect your views to be an exact clone of every single one of them. All the components in the screenshot were built in plain .jsx with Tailwind CSS, with almost no custom CSS and no additional design assets (images, svg, logos).

Good luck!

About

NextJs FullStack sample Test Project to perform sorting, searching using dummy data, both offline and online, with some custom UI controls

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published