Skip to content

alegzable/klickrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

klickrent

Running the app

In order to run the app locally, run these commands:

yarn install

json-server db.json --routes routes.json

yarn start

The coding task

The coding task consists of mobile-first two screens which are briefly presented in the wireframe image. There is no provided wireframe for the desktop screen as we would like to leave it to you.

Expected items

Here are some items we expect and would like to measure for review.

  • A sticky header

  • A button to call to action, which opens a modal called "Direct request"

  • A fixed full-screen modal where there are the following items;

  • a title, Direct Request

  • a button at the upper right corner to close the modal

  • an input to type a product name which may display a list of suggested products depending on the fetched data

  • a (scrollable) list of suggested products, based on the typed value in the input above.

  • Using React without any state management library

  • Using Next.js or create-react-app

  • No UI framework such as material-ui, bootstrap should be used

  • Tests

  • Implementing an endpoint at /api/products to serve the product catalog based on the given query string parameter called query. So the UI is expected to make HTTP calls to this endpoint in order to fetch the relevant data. Regarding the suggestion logic, it does not have to be anything fancy. Products which includes the given query should be simply served.

  • Commit messages must follow a pattern of ": " where type can be one of the followings; feat, fix, docs, chore, style, refactor, test.

  • Code readability

  • Code convention

  • Technical instructions

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published