- java 1.8;
- node.js;
- spring-boot;
- postgreSql.
- /ping - return OK if service is available;
- /lucene/search/q=< text >, type= < type > - return first 10 notes from DB;
- q=text - serching text;
- type=type - type of searching("all" - search by name of movie, "year" - serach by year and movie).
- /search/q=< text >, type= < type > - return first 10 notes from DB;
- q=text - serching text;
- type=type - type of searching("all" - search by name of movie, "year" - serach by year and movie).
- backend - https://github.com/Tsypaev/fake-lucene-backend
- frontend - https://github.com/vysokiylev/lab1-front
- backend - https://github.com/Tsypaev
- frontend - https://github.com/vysokiylev
docker-compose up
- app will be started on localhost:3000
docker pull tsypaev/fake_lucene_backend:0.0.2-SNAPSHOT
docker run -p < localport >:8080 tsypaev/fake_lucene_backend:0.0.2-SNAPSHOT
docker pull tsypaev/fake_lucene_frontend:0.0.2
docker run -p < localport >:3000 tsypaev/fake_lucene_frontend:0.0.2
mvn package
- create < jarfilename >.jar file;
java -jar < jarfilename >.jar
- start application.
requirements: node.js 7+;
npm install
- install dependencies;
npm run build
- build web;
npm run start
- start application.