Code example to demonstrate web app with basic CRUD functionality using two component:
- backend - build with Java, Apache Maven, Spring Boot and H2 Database in-memory mode
- frontend - build with Typescript, Angular and Bootstrap CSS
Follow this step to run the backend component.
- Navigate to
backend
directory. - Run
mvn test spring-boot:run
- Application will run on port
8080
and can be accessed with urlhttp://localhost:8080
Follow this step to run the frontend component.
- Navigate to
frontend/fe-angular-crud
directory. - Run
npm install
to install dependencies. - Run
ng serve
to run a dev server. - Application will run on port
4200
and can be accessed with urlhttp://localhost:4200