EcoNI
Overview
EcoNI is a Java-based web application designed to make Northern Ireland's public economic data more accessible for researchers, developers and practitioners by providing a repository and API for Northern Irish economic data.
Technology stack
The Java web application uses Spring for the backend framework and AngularJS for the frontend framework. Documentation of the RESTful API service is handled by Swagger. We use MongoDB as our main database. Development is done within a Docker environment.
Building the application
Currently, the application is built locally and the resulting JAR is passed into the EcoNI Docker container. Therefore, assuming the Java 8 is installed locally, the application can be built by first cloning the repository then using the build.sh script:
git clone https://github.com/O1sims/EcoNI.git
cd EcoNI
bash build.sh all
This will run tests, generate the JAR and then transfer it into a Docker container. The build.sh file has multiple options to choose from.
Running the application
The build.sh file also coordinates the running of the application. Specifically, the application can be spun up with:
bash build.sh up
Likewise, the application can be brought down with bash build.sh down.
By default, the main EcoNI application is accessible on port 3000, the API and backend components are on port 9000, the Mongo database is run on port 27017. Swagger API documentation can be found at localhost:9000/api/swagger-ui.html.
The docker-compose.yml can be altered to allow these services to run on different ports. Likewise, environmental variables for the application can also be changed in the docker-compose.yml file.
Contact
The best way to troubleshoot or ask for a new feature or enhancement is to create a Github issue. However, if you have any further questions you can contact me directly.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
