Giter VIP home page Giter VIP logo

company-tours's Introduction

Company Tours

How to run the application

  1. Please go into the package folder „company-tours”

  2. Run build: mvn clean package spring-boot:repackage

  3. Run application: java -jar target/vmtours-0.0.1-SNAPSHOT.jar How to run tests

  4. Please go into the package folder „company-tours”

  5. Run tests: mvn test Additional curl requests while running the app:

Refresh:

refresh all

curl --request POST \
--url http://localhost:8081/tours/refresh \
--user 'admin:admin12' \
--header 'Content-Type: application/json' \
--header 'cache-control: no-cache' \
--data '{"filter": null}'

refresh filtered

curl --request POST \
--url http://localhost:8081/tours/refresh \
--user 'admin:admin12' \
--header 'Content-Type: application/json' \
--header 'cache-control: no-cache' \
--data '{"filter": "history"}'

Query:

query all

curl --request GET \
-u john:john12 \
http://localhost:8081/tours

query filtered

curl --request GET \
-u john:john12 \
http://localhost:8081/tours?filter=Cheers%20in%20the%20Liget

How to run code coverage mesausrement

  1. After building the app
  2. Go into target folder under app
  3. open target/site/jacoco/index.html in the browser

company-tours's People

Contributors

zsomborjoel avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.