Giter Club home page Giter Club logo

plan_cuentas_mongo_crud's Introduction

plan_cuentas_mongo_crud

El API plan_cuentas_mongo_crud proporciona interfaces para la manipulación (CRUD) de los datos almacenados en una base de datos no relacional MongoDB (rubros, apropiaciones, fuentes de financiamiento, cpd, crp, vigencias)

Esta API representa la capa de datos del sistema de gestión financiero KRONOS.

Especificaciones Técnicas

Tecnologías Implementadas y Versiones

Variables de Entorno

PLAN_CUENTAS_MONGO_CRUD__PORT = [descripción]
PLAN_CUENTAS_MONGO_CRUD__DB_URL = [descripción]
PLAN_CUENTAS_MONGO_CRUD__DB_NAME = [descripción]
PLAN_CUENTAS_MONGO_CRUD__DB_USER = [descripción]
PLAN_CUENTAS_MONGO_CRUD__DB_PASS = [descripción]
PLAN_CUENTAS_MONGO_CRUD__DB_AUTH = [descripción]

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

Ejecución del Proyecto

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

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

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

# 4. alimentar todas las variables de entorno que utiliza el proyecto.
PLAN_CUENTAS_MONGO_CRUD__PORT=8080 PLAN_CUENTAS_MONGO_CRUD_DB_URL=127.0.0.1:27017 PLAN_CUENTAS_MONGO_CRUD__SOME_VARIABLE=some_value bee run

Vista previa

Ejecución Dockerfile

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

Ejecución docker-compose

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

#2. Moverse a la carpeta del repositorio
cd plan_cuentas_mongo_crud

#3. Crear un fichero con el nombre **custom.env**
# En windows ejecutar:* ` ni 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 Relese 1.1.1 Master
Build Status Build Status Build Status

Licencia

This file is part of plan_cuentas_mongo_crud.

plan_cuentas_mongo_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.

plan_cuentas_mongo_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 plan_cuentas_mongo_crud. If not, see https://www.gnu.org/licenses/.

plan_cuentas_mongo_crud's People

Contributors

alexfbp avatar brayanpasa99 avatar carlosgutierrezardila avatar dankazuky avatar davidmm07 avatar fernandotower avatar filip9322 avatar jjvargass avatar jupmorenor avatar mcguegi avatar miguelramirex93 avatar miguelramirez93 avatar nrdaza avatar soulfilip-ud avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

davidmm07

plan_cuentas_mongo_crud's Issues

Solicitar A los DBAs la BD de Mongo

En la oficina en el servidor de desarrollo existe una base de datos en Mongo, de la cual necesitamos credenciales y puerto para trabajar sobre esta. Se debe pedir con el asesor o drectamente con el DBA los accesos

Gestionar lanzamiento del API sobre amazon (prepod)

Se debe hablar con Fernando para el despliegue de la API sobre maquinas de AWS

  • Se pide el ambiente con una base de datos en mongo al DBA

  • Se registran las variables de entorno en el repositorio de parametros apis

  • Se activa el repositorio para CI con Drone

  • Se agrega el archivo drone.yaml

  • Se ajusta el archivo drone.yaml para el ambiente

Documentar API

Adicional a lo realizado en #13

  • Documentar Controladores
  • re-generar archivos swagger
  • Solicitar actualización en WSO2

Registro de apropiación inicial en mongo

  • Establecer el parámetro que se debe enviar en el body para la función de registrar apropiación inicial

  • Establecer el parámetro que se debe enviar en el body para la función de registrar apropiación inicial cuando se la información de un hijo

  • Revisar que el servicio funcione correctamente

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.