This app has been deployed on https://ppr.enerfris.com/
This code project is a final project to Programming Restrictions Paradigm of Universidad del Valle.
This repo contains all about the project.
This code is built using Minizinc, NodeJS with ExpressJS, ReactJS with Tailwindcss and PostgreSQL all over containers, To run this project make sure to install Docker compose.
Inside minizinc
folder you can the models in Minizinc to solve the project problem.
Inside latex
folder you can find all the source code releated with the document's elaboration.
Inside api-01
folder you can find the main API Rest source code in NodeJS
Inside api-02
folder you can find the main API Rest source code in NodeJS
Inside ui-01
folder is the source code of the Web GUI to use the solutions.
This project is configured to run over LAN, please follow the next steps to achieve it.
Follow the instructions at Docker's oficial web page depending of your platform.
Sure, to do this you need to install git
, after clone, go in to the folder.
git clone https://github.com/sebastianaf/ppr-project
cd ppr-project
Check first if you have docker
installed typing docker compose --version
and next uncomment the local service's ports deleting the #
charapter from the docker-compose.yml
file and then deploy the app with:
docker compose -p uv-ppr -up -d --build
This commands will wake up the services in the ports 9010, 9020, 9030, and 9040 for api-01, db-01, ui-01 and pgadmin respectively, Nevertheless is recomended to use a docker private network with a reverse proxy.
Pending to generate at the end.