Skip to content
/ xws Public

Projekat iz predmeta XML i web servisi. Tim 05.

Notifications You must be signed in to change notification settings

ftn-dnb/xws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

XML i web servisi

Projekat iz predmeta XML i web servisi.
Tim 05

Članovi tima:

  • Boris Šuličenko SW 4/2016
  • David Stanojević SW 41/2016
  • Nemanja Miković SW 68/2016

Demo

https://drive.google.com/drive/folders/1Z-KqRf42BVhQu-R0sA6Ivj4pL66GX3iT

Uputstvo za pokretanje projekta

Skinuti MySQL, eXist, TomEE plus i Jena Fuseki SPARQL server.

U eXist bazi promeniti port na kome ce raditi u 8899 kao sto je opisano ovde u sekciji Port Conflicts.

Potrebno je promeniti port na kome Jena Fuseki server radi na 5533 (otici u tomee/conf/server.xml i u u elementu Connector promeniti port).

Da bi se Jena instalirala potrebno je uraditi sledece:

  • Raspakovati apache-jena-fuseki-x.x.x.zip fajl
  • Kopirati fuseki.war u /webapps direktorijum TomEE-a

Pokrenuti MySQL bazu podataka.
Pokrenuti eXist bazu podataka (exist/bin/startup).
Pokrenuti Jena server (tomee/bin/startup).

Klonirati repozitorijum:

git clone https://github.com/ftn-dnb/xws
cd xws

Da bi se backend pokrenuo potrebno je promeniti sledece parametre u application.properties fajlu koji se nalazi na lokaciji /xws-service/src/main/resources:

  • spring.mail.username = EMAIL
  • spring.mail.password = EMAIL_PASSWORD
  • spring.datasource.username = MYSQL_DB_USERNAME
  • spring.datasource.password = MYSQL_DB_PASSWORD

Nakon ovoga se preko Maven-a moze pokrenuti backend aplikacija:

cd xws-service
mvn install
mvn spring-boot:run

Servis ce biti pokrenut na portu 8080.

Da bi se pokrenula frontend aplikacija treba instalirati Angular.

cd xws-client
npm install
ng serve

Frontend aplikacija ce biti pokrenuta na portu 4200.

Login podaci:

  • Username: jane.doe, password: 123 -> urednik
  • Username: john.doe, password: 123 -> autor/recenzent
  • Username: john.smith, password: 123 -> autor/recenzent
  • Username: mike.smith, password: 123 -> autor/recenzent
  • Username: jess.doe, password: 123 -> urednik

About

Projekat iz predmeta XML i web servisi. Tim 05.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published