AirZenith is an air quality monitoring application that aims to provide information about air quality index and greenhouse gas emissions, as well as promote a healthy lifestyle to users by giving them prizes every time they complete the available challenges.
This app was made in Codeigniter 4 framework. The user guide corresponding to the latest version of the framework can be found here.
click the green code button on the top right and download it the way you want.
After that, you can run composer update
to install the vendor folders
- Copy
env
to.env
and tailor for your app, specifically the baseURL and any database settings. - Run these code in your terminal
php spark db:create user php spark migrate
- Create a WAQI api key from aqicn.org and replace the value
YOUR_API_KEY
onWAQI_TOKEN
variable in.env
file with your api key. - Create a WeatherAPI api key from WeatherAPI.com and replace the value
YOUR_API_KEY
onWEATHER_TOKEN
variable in.env
file with your api key.
PHP version 7.4 or higher is required, with the following extensions installed:
Additionally, make sure that the following extensions are enabled in your PHP: