Aplicación web y API REST con autenticacion sobre el progreso de la vacunación en el mundo contra el COVID-19
Fuente de los dataset
- Crear el archivo .env, el cual debe de tener las siguientes variables:
SECRET_KEY = ''
DB_NAME = ''
DB_USER = ''
DB_PASS = ''
DB_HOST = 'db'
DB_PORT = '5432'
DB_SCHEMA = 'public'
- Ejecutar docker-compose.yaml
# Ejecutar docker-compose
docker-compose up -d --build
- Crear superuser
-
GET /api/v1/vaccinations-by-country/
GET /api/v1/vaccinations-by-country/<pk>/
Parameter Type Description id
int
Requiere. Id de la vacunacion GET /api/v1/vaccinations-by-country/iso-code/<iso_code_pk>/
Parameter Type Description iso_code
str
Requiere. codigo iso del algun pais GET /api/v1/vaccinations-by-country/date/<date_pk>/
Parameter Type Description date
str
Requiere. fecha con formato Y-M-D GET /api/v1/vaccinations-by-country/iso-code-date/<iso_code_pk>/<date_pk>/
Parameter Type Description iso_code
str
Requiere. codigo iso del algun pais date
str
Requiere. fecha con formato Y-M-D -
GET /api/v1/vaccinations-by-manufacturer/
GET /api/v1/vaccinations-by-manufacturer/<pk>/
Parameter Type Description id
int
Requiere. Id del elemento GET /api/v1/vaccinations-by-manufacturer/location/<location_pk>/
Parameter Type Description location
str
Requiere. Nombre de un pais GET /api/v1/vaccinations-by-manufacturer/date/<date_pk>/
Parameter Type Description date
str
Requiere. fecha con formato Y-M-D GET /api/v1/vaccinations-by-manufacturer/vaccine/<vaccine_pk>/
Parameter Type Description vaccine
str
Requiere. Nombre de un fabricante GET /api/v1/vaccinations-by-manufacturer/location-date-vaccine/<location_pk>/<date_pk>/<vaccine_pk>/
Parameter Type Description location
str
Requiere. Nombre de un pais date
str
Requiere. fecha con formato Y-M-D vaccine
str
Requiere. Nombre de un fabricante
- Python
- Django
- Django REST Framework
- Postgres
- Docker
- HTML
- CSS
- Bootstrap