Skip to content

pkonstantinou/react-app-trucks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This simple React application lists truck offers using a public api to fetch the data. The offers can be filtered either by tag or title using a search input and can be sorted either by publishing date, ascending or descending price using a dropdown selector.

The application expects that the truck object coming from the api, contains the following properties: vehicle_picture_front, title, tags, shortCode, location, askPrice, bidPrice and offerPublicationDate.

Setup and execution

To run the application you will need the following:

  • Node.js installed on your machine
  • A clone of this repository
  • Inside the project directory run yarn in order to install all the dependencies.
  • Start the server with REACT_APP_TRUCKS_URL=api-url-goes-here yarn start
  • Navigate to http://localhost:3000 to view the app

Deployment

A deployed instance of the application can be found here.

About

A simple SPA that lists truck offers using React.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published