GithubHelp home page GithubHelp logo

technical-assessment-aniket-'s Introduction

Technical assessment for Deerns

I would say: The assessment is a simple exercise to test your web development abilities, we recommend to have git available in your laptop and your IDE of choice (but we advise vscode). Before the assessment is good to refresh your knowledge of Svelte, Typescript and css (specially tailwind).

This assessment was created to be completed in 1 hour, we dont expect all the tasks to be completed 100% since it is a short amount of time. What is important is your though process when going through the tasks, as at the end of the time the candidate will be asked to demostrate what he/she accomplished and explain it

Have fun and be creative

Setup

First lets get this repo working in your localhost so you can perform the tasks.

We strongly advice to use VS code and have git bash/configured

# clone this repo in your directory of choice,
git clone https://github.com/lorenzodonadio/technical-assessment.git
# navigate to the repo folder
cd technical-assessment
#open vs code here
code .
# open a cmd terminal in vscode
# install node packages
npm install

#start a development server
npm run dev

# open http://localhost:3000/ in your browser

tasks

For this assignment you are asked to modify 4 files

  • src/lib/types/personType.ts #Type file for "person" data
  • src/routes/+page.ts #Home endpoint
  • src/lib/components/Card.svelte #Card component
  • src/routes/+page.svelte #Home page

Please follow this steps:

  1. Complete the personType.ts file and use this type wherever is subsequently needed, (If you are not familiar with Typescript just skip and "any[]" type)
  2. Modify the home endpoint (+page.ts) to correctly get the json data hosted in this url:https://api.npoint.io/7116b399239c3967fad5
  3. Complete the Card.svelte component to display correctly and nicely the relevant information of one person
  4. Display all the data contained in the home page (+page.svelte), as cards. If possible style the page nicely, be creative.
  5. Bonus Only if you have time, implement:
    • filtering to only display people form a certain country
    • search bar, search people by name
    • sort cards by most recent/oldest

help and tips:

  • Commit constantly and at the end of the time make a final commit :)

  • Feel free to use any CSS you want, but TailwindCSS is already configured in this project you you can go ahead and use it if you want.

  • This is what the data looks like (an array of objects like this one):

{
	"id": 1,
	"first_name": "Gary",
	"last_name": "Browse",
	"email": "[email protected]",
	"ip_address": "183.208.170.41",
	"avatar": "https://robohash.org/commodipraesentiumexpedita.png?size=50x50&set=set1",
	"created_at": "2021-12-21T05:13:35Z",
	"country": "CN"
}

careful avatar and country may contail null values

technical-assessment-aniket-'s People

Watchers

James Cloos avatar Lorenzo Donadio avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.