|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2022-09-13 (2 months ago) ||Not yet rated by the users||Total: 37 This week: 2||All time: 10,529 This week: 349|
This package can get city weather and product recommendations.
It provides an API that clients may call and pass a given city's name as a parameter.
The package calls the Meteo API to get current weather conditions and recommended products sold in that city.
|Many people like to do tourism travel to places that they don't know. When in those places, they want to buy products that probably only exist because of the weather and bring souvenirs.
This package provides an API that can return recommendations for products to buy in a given city the according to the current weather conditions.
These features help implement applications for the tourism market.
<p align="center">Returns product recommendations depending on current weather.</p>
<p align="center"><a href="https://medium.com/@infinitypaul">Creator</a> | <a href="https://infinityadeo.herokuapp.com/api/v1/products/recommended/alanta">Demo URL</a></p>
Clone the project.
git clone https://github.com/infinitypaul/recommendations.git projectname
Install dependencies via composer.
Migrate and seed the Database.
php artisan migrate --seed
Run php server.
php artisan serve
> You can also install the Application via Docker:
Docker running on the host machine.
Docker compose running on the host machine.
Clone the project.
git clone https://github.com/infinitypaul/findyourservive.git projectname
Run the testrig.sh file on the Project Root Folder on your terminal/Command Prompt, This script does everything you need to run your this project. It starts up the servers, ensures the database is booted, installs dependencies, runs database migrations, and runs database seeds. These services are exposed to your computer on the standard ports, then you can access your website on http:localhost
Port number might be already in use, change from `80` to another number in your `docker-compose.yml` file.
If you have any other issues, report them.
> Using Get Request:
http://localhost/ is your Base Url, You Can Replace it with yours
CITY are the cities name in Lithuania eg: akuotai, You can get the available cities here https://api.meteo.lt/v1/places
And Viola, Right In Front Of You Will Be The City Name, The Current Weather Condition Of The City And List Of Recommended Products You Can Buy From, Make Sure You Buy One.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.