/asociacioncero

Asociacion CERO is a animal protection organization which help animals in order to be integrated at society, finding a family for them and paying their medical necessities.

Primary LanguageJavaScript

Asociacion CERO

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.

Instalation

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/'

Usage

I have implemented a backoffice and a REST API. The urls and endpoints are:

Backoffice:

/

API:

/api/v1/gatoenfermo/
/api/v1/configuracion/1/

Official WebSite

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.

Stuff used to make this: