Demo Spring Boot & Angular 7 project
- Java 11
- Spring Boot
- Maven
- Typescript
- Angular 7
- Angular CLI
- NPM
Considering you have all requirements installed.
In order application to work you will need to provide youtube api key
.
Open your terminal:
Navigate to testproject
and run the following:
mvn clean install
(this will compile, build and test backend)mvn spring-boot:run -Dspring-boot.run.arguments=--youtube.api.key=API_KEY
Note: remember to change API_KEY
to your key.
To run tests use this command:
mvn clean test
Navigate to testproject-ui
and run the following:
npm install
(this will install all dependencies)ng serve
To run tests use this command:
npm run test-headless
Open you browser and go to http://localhost:4200
Test user credentials:
Username: test@gmail.com
Password: test
Enjoy :)