Skip to content

✔️ Check: API CRUD para gestión del proceso de inscripción

Notifications You must be signed in to change notification settings

udistrital/inscripcion_crud

Repository files navigation

inscripcion_crud

El API provee la gestion de las diferentes procesos que requiere una inscripción

Especificaciones Técnicas

Tecnologías Implementadas y Versiones

Variables de Entorno

INSCRIPCION_CRUD_PGDB=[nombre de la base de datos]
INSCRIPCION_CRUD_PGPASS=[password del usuario]
INSCRIPCION_CRUD_PGURLS=[direccion de la base de datos]
INSCRIPCION_CRUD_PGPORT=[Puerto de conexión con la base de datos]
INSCRIPCION_CRUD_PGUSER=[usuario con acceso a la base de datos]
INSCRIPCION_CRUD_PGSCHEMA=[esquema donde se ubican las tablas]
INSCRIPCION_CRUD_HTTP_PORT=[puerto de ejecucion] bee run

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

Ejecución del Proyecto

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

#2. Moverse a la carpeta del repositorio
cd $GOPATH/src/github.com/udistrital/inscripcion_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.
INSCRIPCION_CRUD_HTTP_PORT=8080 INSCRIPCION_CRUD_PGHOST=127.0.0.1:27017 INSCRIPCION_CRUD_SOME_VARIABLE=some_value bee run

Ejecución Dockerfile

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

Ejecución docker-compose

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

#2. Moverse a la carpeta del repositorio
cd inscripcion_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

# En Proceso

Estado CI

Develop Relese 0.0.1 Master
Build Status Build Status Build Status

Modelo de Datos

Modelo de Datos API CRUD Inscripcion

Licencia

This file is part of inscripcion_crud.

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

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

About

✔️ Check: API CRUD para gestión del proceso de inscripción

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published