GitHub repository containing the React frontend for the Kulea Africa Price Index project, which provides real-time commodity price information across Africa by aggregating data from multiple public sources.
## About The Project
# Sugar Price Tracker
## Authors Name
Denis Ouma Otieno
## Table of contents
- General info
- Features
- Technologies Used
- Getting Started
- API Endpoints
- License
## General info
This is a web application that displays the latest sugar prices for various countries. It was built using React and TailwindCSS.
## Tecknologies Used
This project was built using the following dependencies:
1. React: A JavaScript library for building user interfaces
2. Axios: A library for making HTTP requests
3. tailwindCSS (styling the application)
## Features
View the latest sugar prices for different countries
Filter the results by country
Sort the results by price or date
## Getting Started
To run this application on your local machine, follow these steps:
1. Clone this repository to your local machine.
2. Install the dependencies using npm install.
3. Start the development server using npm start.
Open your web browser and navigate to
localhost.
## Endpoints
GET /prices - Retrieves all sugar prices in the database
GET /prices/:country - Retrieves the latest sugar price for a specific country
## Filter Option
The API also includes a filter option to allow users to filter sugar prices by country. To use the filter option, make a GET request to /prices with the country query parameter set to the desired country.
## Contributing
Contributions to this project are welcome. To contribute, fork the repository and create a pull request with your changes.
## Company
## Preview
## List of countries
## Selecting option
## Server Source Code Link
github.com