Skip to content

sal-unimib/wizrd-backend-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WizRD Backend

wizrd.png

The WizRD Backend is an application comprised of three different modules, which expose the following services:

Name Port Description
wizrd 8000 The Rocket Application that allows the frontend to retrieve data from the DB
wizrd-db The database where the map and the associated graph are stored. Uses PostgreSQL, PostGIS and PgRouting
wizrd-pgadmin 8081 A PgAdmin instance for debugging purposes

The containers talk to each other through an external network named wizrd-net.

Bringup

A docker-compose.yml file that can be used to automate the deployment is provided for convenience. Remember to create the network before bringing up the containers.

$ docker network create wizrd-net
$ docker compose up

If you're using podman, just /s/docker/podman/ or alias docker=podman.

Debugging

If you want to run the application on your local machine (e.g., via IntelliJ) for debugging puposes, you should change the URL in Rocket.toml to localhost instead of wizrd-db, expose port 5432:5432 on the DB's container, and comment out the entry for container wizrd in docker-compose.yml.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages