Skip to content

Latest commit

 

History

History
78 lines (52 loc) · 2.33 KB

README.md

File metadata and controls

78 lines (52 loc) · 2.33 KB

ePayment

ePayment is a repository of web application Travelsafe which represents one implementation of project task for Electronic Payment Systems course at Faculty of Techical Sciences, Univeristy of Novi Sad, 2016/2017. Travelsafe enables its users to buy travel insurances and pay them using PayPal.

Content

Stack

Backend

Frontend

How To Continue Developing application

To start developing, you need to have installed npm and bower.

1) Install node modules

Navigate to path /travelsafe and run:

npm install

2) Install bower components

Navigate to path /travelsafe/src/main/webapp and run:

bower install

3) Set your database and email params

-Navigate to path /travelsafe/src/main/resources/application.properties and set your database and email params -Run MySql and create 'your_schema_name' schema

4) Start developing

-Run TravelsaveApplication.java and app will be available at: https://localhost:8090/

How To Create a Deployable war File

1) Switch from Developer Mode to Production Mode

  • In /travelsafe/pom.xml include commented dependency 'spring-boot-starter-tomcat'

2) Run script that creates .war file

  • In /travelsafe double click build-war.bat file - That's it, war file will be in /travelsafe/target.

    • Note 1

    'build-war.bat' does following:

          1.install node modules
    
          2.install bower conponents
    
          3.run gulp task that create new version of 'webapp' folder
    
          4.run mvn task for building war file (spring boot task)           
    

Team

License

MIT