Skip to content

✔️ Check: API mongo para modelo de negocio cuentas contables- subsistema presupuesto - Kronos

Notifications You must be signed in to change notification settings

udistrital/cuentas_contables_crud

Repository files navigation

cuentas_contables_crud

El API cuentas_contables_crud, proporciona interfaces para la manipulación(CRUD) de los datos almacenados en una base de datos no relacional MongoDB (comprobantes, tipos de comprobantes, árbol de cuentas contables).
Esta API representa la capa de datos del subsistema de contabilidad, el cual, a su vez, hacer parte de el sistema de gestión financiero KRONOS.

Especificaciones Técnicas

Tecnologías Implementadas y Versiones

Variables de Entorno

# Ejemplo que se debe actualizar acorde al proyecto
CUENTAS_CONTABLES_CRUD_DB_USER = [descripción]
CUENTAS_CONTABLES_CRUD_DB_PASS = [descripción]
CUENTAS_CONTABLES_CRUD_DB_HOST = [descripción]

NOTA: Las variables se pueden ver en el fichero conf/app.conf y están identificadas con CUENTAS_CONTABLES_CRUD_...

Ejecución del Proyecto

#1. Obtener el repositorio con Go
go get github.com/udistrital/cuentas_contables_crud

#2. Moverse a la carpeta del repositorio
cd $GOPATH/src/github.com/udistrital/cuentas_contables_crud

# 3. Moverse a la rama **develop**
git pull origin develop && git checkout develop

# 4. alimentar todas las variables de entorno que utiliza el proyecto.
CUENTAS_CONTABLES_HTTP_PORT=8080 CUENTAS_CONTABLES_DB_HOST=127.0.0.1:27017 CUENTAS_CONTABLES_SOME_VARIABLE=some_value bee run

Ejecución Dockerfile

# docker build --tag=cuentas_contables_crud . --no-cache
# docker run -p 80:80 cuentas_contables_crud

Ejecución docker-compose

#1. Clonar el repositorio
git clone -b develop https://github.com/udistrital/cuentas_contables_crud

#2. Moverse a la carpeta del repositorio
cd cuentas_contables_crud

#3. Crear un fichero con el nombre **custom.env**
touch custom.env

#4. Crear la network **back_end** para los contenedores
docker network create back_end

#5. Ejecutar el compose del contenedor
docker-compose up --build

#6. Comprobar que los contenedores estén en ejecución
docker ps

Ejecución Pruebas

Pruebas unitarias

# Not Data

Estado CI

Develop Release 0.3.3 Master
Build Status Build Status Build Status

Licencia

This file is part of cuentas_contables_crud

cuentas_contables_crud is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

cuentas_contables_crud is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with necesidades_crud. If not, see https://www.gnu.org/licenses/.

About

✔️ Check: API mongo para modelo de negocio cuentas contables- subsistema presupuesto - Kronos

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages