XML and Web Services class project - web application for scholarly papers reviewing and publishing.
-
Download MarkLogic 8.
-
Install as typical installation.
-
Start server from Start menu -> Start MarkLogic Server.
And to stop the server later on use Start menu -> Stop MarkLogic Server. -
Open http://localhost:8001
-> ok -> skip. -
Create the following admin account:
Admin: root
Password: root
Realm: public
and use it to log in. -
Create an account for connecting to the database:
Security -> Users -> Create
Username: root
Password: root
And assign him the following roles:
admin, rest-admin, rest-reader, rest-writer
-> ok. -
Create a new database:
Open http://localhost:8000/appservices
Log in as admin -> New Database
Database name: xmldb -
Create a database server:
Configure -> Check Collection Lexicon, REST API Instances, add New
Server name: xmldbserver
Port: 8011 -
Enable RDF triple index option:
Open http://localhost:8001
Databases -> xmldb -> triple index true -> ok. -
Check if database client works:
Run the Spring Boot application -> GET /api/db.