Categorygithub.com/udistrital/configuracion_api
modulepackage
0.0.0-20240509175556-b33ac647a763
Repository: https://github.com/udistrital/configuracion_api.git
Documentation: pkg.go.dev

# README

configuracion_api

API CRUD para la gestión de aplicativos, procesos y perfiles de aplicaciones.

Especificaciones Técnicas

Tecnologías Implementadas y Versiones

Variables de Entorno

CONFIGURACION_API_HTTP_PORT=[Descripción]
CONFIGURACION_API_DB_USER=[Descripción]
CONFIGURACION_API_DB_PASS=[Descripción]
CONFIGURACION_API_DB_URL=[Descripción]
CONFIGURACION_API_DB_NAME=[Descripción]
CONFIGURACION_API_DB_SCHEMA=[Descripción]

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

Ejecución del Proyecto

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

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

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

# 4. alimentar todas las variables de entorno que utiliza el proyecto.
CONFIGURACION_API__PORT=8080 CONFIGURACION_API__DB_HOST=127.0.0.1:27017 CONFIGURACION_API_SOME_VARIABLE=some_value bee run

Ejecución Dockerfile

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

Ejecución docker-compose

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

#2. Moverse a la carpeta del repositorio
cd configuracion_api

#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

DevelopRelese 0.0.1Master
Build StatusBuild StatusBuild Status

Modelo de Datos

SVG - PGModeler

Licencia

This file is part of configuracion_api.

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

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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
@APIVersion 1.0.0 @Title beego Test API @Description beego has a very cool tools to autogenerate documents for your API @Contact [email protected] @TermsOfServiceUrl http://beego.me/ @License Apache 2.0 @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html.