Giter VIP home page Giter VIP logo

code_challenge's Introduction

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

NEXT/REACT - TS Challenge

An array of sample data can be reached on the server with a GET to /data

A business user wants to see a very simple front-end display for all participants that have a specific attribute, or all attributes for one specific participant. If the user gives a single attribute, the front-end should display a list of all participants and their details for any participant that has that attribute. The user should also be able to search through that list by typing specific details into a search box. If the user gives a single participant identifier, all information for just that participant should be displayed.

Using the NextJS API routes, create routes to return the 2 types of queries above. Then, use them to serve your implementation of the front-end.

Requirements:

  • Create the routes to serve the details according to specs:
    • Get by participant_id
    • Get by an attribute (e.g. First Name = Mike)
  • Create a front end to visualize the data

A search box (fuzzy) to give me a list of participants based on either the participant id, first name, last name, city as I type it in (search-ahead) The returned list should show the participant number, state, last name and first name with a “detail” collapsible that shows the full record in an easy-to-read format

Instructions:

  • Fork this repository
  • Push your code to your new forked repo
  • Let us know the name of your new repo

code_challenge's People

Contributors

wajahat-khan avatar

Watchers

Shawn Milochik avatar

Forkers

pawan20

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.