This is a Django-based web application that provides a personalized greeting along with the current weather information based on the user's IP address.
- Personalized greeting message.
- Current temperature based on the user's location.
- Python 3.7 or higher
- Django 5.0.6
- Gunicorn 22.0.0
- Clever Cloud account for deployment
-
Clone the repository:
git clone https://github.com/waveGuide1/hello-api-app.git cd hello-api
python3 -m venv venv
source venv/bin/activate # Might differ for window os
pip install -r requirements.txt
OPENWEATHER_API_KEY=YOUR_API_KEY
python manage.py migrate
python manage.py runserver
[GET] http://localhost:8080/api/hello?visitor_name=YOUR_NAME