Travel agency website solution
Project needs global variable. You can easily add it using VM Options in InteliJ Idea.
Example:
-Dapp.home=C:\Users\Asus\HappyTravel\Backend\src\main\resources
In sql script change file link to your path.
INSERT INTO Reservation(id,clientID,sellerID,travelID,adultnumber,childrennumber,cateringtype,alcoholtype,entertaimenttype,ratingtype,paymenttype) SELECT * FROM CSVREAD('C:/Users/Asus/HappyTravel/Backend/src/main/resources/data/Rezerwacja.csv');
Example: 'C:/Users/Asus/HappyTravel/Backend/src/main/resources/data/Rezerwacja.csv'
Frontend is written in react.js so you have to have node.js installed. If you hasn't got it on your PC already just download framework through link Node.js
Here you can get React.js library.
To startup project's frontend open folder then open terminal/cmd/powershell and type npm start. If doesn't work try npm install before.
You can turn on the project using InteliJ Idea by JetBrains. Here is a link to download Intelij.
After installation turn on the environment, select project, write your VM options variable and change SQL link. Done! Now just turn it on!