A table that shows a filterable list of billy contacts.
- Set api token in the .env file of your appropriate environment for the key: REACT_APP_API_TOKEN.
- Run command
yarn
to install dependencies. - Run command
yarn start
to run the dev server.
The country is currently filtered on the client side. This is due to the api not apparently supporting filtering by country. Ideally it should be filtered on the server side for consistent user experience.
Make a table showing an overview of the contacts on a organization.
- List contacts directly from our API.
- For each row in the table show a contact with the following information. Name, address, country, whether it’s a customer and / or supplier and finally whether the contact has been archived.
- Store the filters in the URL so bookmarking and link sharing works.
- Implement filters
- Archived: On/off whether to include archived contacts. By default don’t show archived contacts.
- Country Id: Filter by country.
- Both filters may be applied at the same time.
- The page should be styled with bootstrap.
API documentation can be found here https://www.billy.dk/api/.
Use the staging API available at https://api.staging.billy.dk