yarn install
yarn start
Here is the repository for the react software engineer assignment.
This assignment consists of the following challenges:
-
Utilise the Listing component (
src/components/Listing
) and display all the listings (/src/assets/listings.ts
) on the Home Page. -
Allow the user to click on a listing and navigate to the specific listing details page.
Consider adding some styling.
-
Currently
any
is being used to define the type of the retrieved listing. Apply the correct type for the listing that has been found on line 12 in theDetailsPage/index.tsx
. -
Set up an express server to serve the listings and update the existing project to utilise your new API.
-
Create a new component called
Card
, that will be similar tohttps://getbootstrap.com/docs/4.0/components/card/#images
. It should contain an image, title and an excerpt of the description (20 characters).
Consider adding some styling.