Prerequisites: Java 10, Maven, Node.js, Angular, MySQL.
1. Clone the application
git clone https://github.com/malkfilipp/travelplanner.git
cd travelplanner
2. Change MySQL username and password
- Open
server/src/main/resources/application.properties
. - Change
spring.datasource.username
andspring.datasource.password
as per your MySQL installation.
Or set your MySQL root password to "root" according application.properties
.
3. Сreate a database
create database TravelDatabase;
4. Run the server using Maven
To run the server, cd into the server
folder and run:
mvn spring-boot:run
5. Run the client using npm
To run the client, cd into the client
folder and run:
npm install && npm start
6. Open the start page
Go to localhost:4200
.