Code Monkey home page Code Monkey logo

convenios_crud's Introduction

convenios_crud

CRUD para el negocio de convenios en el marco del proyecto Movilidad Académica.

Especificaciones Técnicas

Tecnologías Implementadas y Versiones

Variables de Entorno

# parametros de api
CONVENIOS_CRUD_HTTP_PORT=[Puerto de exposición del API]
CONVENIOS_CRUD_RUN_MODE=[Modo de ejecución del API]
# paramametros de bd
CONVENIOS_CRUD_PGUSER=[Usuario de BD]
CONVENIOS_CRUD_PGPASS=[Contraseña del usaurio de BD]
CONVENIOS_CRUD_PGHOST=[URL, Dominio o EndPoint de la BD]
CONVENIOS_CRUD_PGPORT=[Puerto de la BD]
CONVENIOS_CRUD_PGDB=[Nombre de Base de Datos]
CONVENIOS_CRUD_PGSCHEMA=[Nombre del Esquema de Base de Datos]

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

Ejecución del Proyecto

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

#2. Moverse a la carpeta del repositorio
cd $GOPATH/src/github.com/udistrital/convenios_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.
CONVENIOS_CRUD_PORT=8080 CONVENIOS_CRUD_SOME_VARIABLE bee run

Ejecución Dockerfile

# implementado para el sistema de integración continua (CI)

Ejecución docker-compose

# 1. Obtener repositorio
git clone https://github.com/udistrital/convenios_crud.git
# 2. Ir a la carpeta del repositorio
cd $GOPATH/src/github.com/convenios_crud
# 3. Cambiar a la rama develop
git checkout develop
# 4. Crear red back_end
docker network create back_end
# 5. Ejecutar docker compose
docker-compose up --build

Ejecución Pruebas

Pruebas unitarias

# En Proceso

Modelo de Datos

Modelo Relacional convenios_crud
Sql de la base de datos: Convenios BD

Puertos

El servidor se expone en el puerto: 127.0.0.1:8082
Para ver la documentación de swagger: 127.0.0.1:8082/swagger/

EndPoints

link de prueba End Point
Obtiene datos asociados a los convenios GetAll 127.0.0.1:8080/v1/convenio

Estado CI

Develop Relese 0.0.1 Master
- - -

Licencia

This file is part of convenios_crud.

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

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

convenios_crud's People

Contributors

corio27 avatar fabianbarreto02 avatar grumysh avatar jjvargass avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

convenios_crud's Issues

crear bash para ejecucion del api convenios_crud

crear un bash en el cual este el cuerpo de ejecución de las apis de tal manera que en local se puedan cambiar variables con la conexión a la base de datos y no generar cambios en el repositorio.

Crear Crud para Convenios

  • basarse en el modelo de base de datos para crear el api.

Calidad

  • el api se puede ejecutar normalmente con el comando bee run
  • los modelos creados corresponden a los modelos de las tablas

Refactor Crud Convenios

Se hace refactoring para convenios_crud para la configuración de las respuestas Json en Api Beego

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.