This project aims to present how to create and configure a Kotlin + Spring Boot 2 + Angular 10 Web application.
Library name | Description |
---|---|
Kotlin | Kotlin is a cross-platform, statically typed, general-purpose programming language with type inference. |
Spring Boot 2 | Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". |
Spring Data Repositories | The JPA module of Spring Data contains a custom namespace that allows defining repository beans. |
JPA (Hibernate) | Hibernate ORM enables developers to more easily write applications whose data outlives the application process. |
Liquibase | Liquibase Community is an open source project that helps millions of developers rapidly manage database schema changes. |
Docker Compose | Compose is a tool for defining and running multi-container Docker applications. |
Lombok | Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java. |
Checkstyle | Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. |
FindBugs | FindBugs is a development tool which uses static analysis to look for bugs in Java code. |
Library name | Description |
---|---|
Angular 10 | Angular is an application design framework and development platform for creating efficient and sophisticated single-page apps. |
Angular Material 10 | Internationalized and accessible components for everyone. Well tested to ensure performance and reliability. |
Angular Flex Layout 10 | Angular Flex Layout provides a sophisticated layout API using Flexbox CSS + mediaQuery. |
## Run PostgreSQL database on Docker
docker-compose up -d
## Build and run backend using Maven Wrapper
cd webshop-backend
mvnw.cmd clean install spring-boot:run
## Run Frontend Angular application using npm
cd webshop-frontend
npm i
npm run start
## Run PostgreSQL database on Docker
docker-compose up -d
## Build and run backend using Maven Wrapper
cd webshop-backend
./mvnw clean install spring-boot:run
## Run Frontend Angular application using npm
cd webshop-frontend
npm i
npm run start
## Run Backend and Frontend using Docker Compose
cd local-docker
docker-compose up -d
## Run Backend and Frontend using Docker Compose
cd local-docker
docker-compose up -d
Component | URL |
---|---|
Frontend | http://localhost:4444 |
Backend | http://localhost:8888 |
OpenAPI Documentation | http://localhost:8888/api/swagger-ui.html |
OpenAPI Spec | http://localhost:8888/api/v3/api-docs |
URL | Username | Password |
---|---|---|
jdbc:postgresql://localhost:5555/webshop | webshop_user | secret |