This web app displays a list of tracked parcels fetched from an API endpoint.
This project was created as an assignment for Software Development Academy (SDA). It was bootstrapped with Create React App and supports major mobile and desktop browsers/layouts.
The web app is hosted by Firebase at https://package-tracker-sda9.web.app/
Clone this repository:
git clone https://github.com/eeels22/package-tracker.git
In the project directory, run:
npm install
Installs the project's dependencies (read on for details) in the local node_modules folder.
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits. You will also see any lint errors in the console.
npm run build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. The app is then ready to be deployed!
See the section about deployment in the React documentation for diferent deployment options.
The app uses the following packages:
Get started by clicking the link to view all parcels or search parcels by sender name using the search bar in the header.
Figure 1: Home page on desktop view
Get an overview of all tracked parcels. The sender name, order status and matching icon are displayed for each parcel.
Click on a parcel to see further details.
Figure 2: All parcels page on desktop view
Get more details about a parcel. Some values have been formatted to use more natural language (e.g. "none" instead of "null", "yes / no" instead of "true / false").
Figure 3: Parcel details on desktop view
All pages display a search bar in the header, where you can search for parcels by sender.
Search results include part matches, so searching for "oo" will return parcels sent by "Divanoodle" and "Zoonoodle".
Click on a parcel result to see the details.
Figure 4: Search results showing part matches on desktop view
The app's default language is English but you can switch to Swedish by click on the language name in the top right.
Figure 5: Example of a page in Swedish
Thanks to Eduardo Alvarez (Front End teacher at SDA), the teaching assistants, fellow classmates and Chibi Godzilla.
Van illustration by DrawKit
Icons from Font Awesome