This project is a project donated to Asociacion CERO, which help animals in order to be integrated at society, finding a family for them and paying their medical necessities.
First, you need to clone all files from the project with git clone url
. Then, you must install the requirements:
pip install -r requirements.txt
Afterwards, you hace to migrate the database. I have configured a sqlite3 database, so you just have to execute the next command:
python manage.py migrate
It will create the database with all tables and columns. It's also necessary to create a superuser with the command:
python manage.py createsuperuser
Finally, you have to point the api url to the frontend side. You can configure this from ./AsoZero/script.js file:
var api = '<domain>/api/v1/gato_enfermo/'
var config = '<domain>/api/v1/configuracion/1/'
I have implemented a backoffice and a REST API. The urls and endpoints are:
Backoffice:
/
API:
/api/v1/gatoenfermo/
/api/v1/configuracion/1/
You can access to the official web site at asociacioncero.es so as to help to the organization, not only with donations but also with your support.
- Vue.js for integration between the API and the frontend.
- Bootstrap for styling the frontend site.
- Django for developing the backend.
- django-restframework for developing the API REST.