Weather API made with Python, Django Rest Framework and ClimaCell API.
- Python installed;
- PostgreSQL 13 installed; (optional) Docker installed.
[wip]
You need to get to the root folder of the project.
From the folder base run the following commands.
python -m venv env_django
Linux:
source activate env_django
Windows:
env_django\Scripts\activate
then install the dependencies using
pip install -r requirements.txt
To run the application use:
python manage.py runserver
If you made any changes to the application you can use:
python manage.py makemigrations
to make database migrations and use python manage.py migrate --run-syncdb
to execute your database migrations.
Alternative way:
Using docker do a docker-compose up
in the root folder of the project.
[wip]
[wip]
[wip]
[wip]
[wip]
You can deploy with Heroku as it is using Heroku Deployment pipelines
[wip]
- Heroku - is a platform as a service (PaaS) that enables developers to build, run, and operate applications entirely in the cloud.
- Django Rest Framework - Django REST framework is a powerful and flexible toolkit for building Web APIs.
- ClimaCell Weather API - The world's best hyperlocal weather API — real-time and historical weather data, customizable for every use case and business model. ** For additional information checkout the official documentation from Climacell API at https://developer.climacell.co/v3/docs/historical
- PostgreSQL - is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
[wip]
- Production: main
- Development: dev
Using https://gitmoji.dev/ emoji pattern to easy find commits topics
- Lucian Lorens - Initial work - lucianlorens
🚧 [wip] 🚧
To my Family, ever helping, ever supporting.