This is a small java-spring web application developed mainly for learning purposes. It performs CRUD operations with any kind of digital content using MongoDB and GridFS format. Searching DB is implemented via Elasticsearch.
The frontend is build with AngularJS framework. For the file upload angular-file-upload module has been used.
A very nice example of AngularJS-REST-Spring Security was used to write the user login module
To build the project, [maven] (http://maven.apache.org/download.cgi) and yeoman-bower-grunt must be installed. The application is build by running:
$ mvn install
from the project root.
Deployment requires installation and proper configuration of Elasticseacrh, MongoDB and TomCat. For this, a vagrant script is provided, to deploy the application inside of the VirtualBox, where the configuration will be guaranteed. This requires installation of [VirtualBox] (https://www.virtualbox.org/wiki/Downloads) and [Vagrant] (https://www.vagrantup.com/downloads.html).
Deploy the application by running:
$ vagrant up
from the project root.
The deployment may take awhile depending on the machine. At least 8Gb RAM memory is required. Access the application from a browser at:
localhost:8080/homearchive
You can login with user name/paasword: admin/admin or user/user