Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/batux/personal_book_library_web_project
Personal Book Library Web Project
https://github.com/batux/personal_book_library_web_project
angularjs docker docker-compose java javascript kafka mongodb mysql recaptcha redis spring spring-boot spring-data spring-data-jpa spring-security springmvc springsession
Last synced: 2 months ago
JSON representation
Personal Book Library Web Project
- Host: GitHub
- URL: https://github.com/batux/personal_book_library_web_project
- Owner: batux
- License: mit
- Created: 2018-10-13T08:24:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-04T01:35:07.000Z (over 3 years ago)
- Last Synced: 2024-09-29T08:23:37.474Z (3 months ago)
- Topics: angularjs, docker, docker-compose, java, javascript, kafka, mongodb, mysql, recaptcha, redis, spring, spring-boot, spring-data, spring-data-jpa, spring-security, springmvc, springsession
- Language: Java
- Size: 1.79 MB
- Stars: 39
- Watchers: 6
- Forks: 13
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Personal Book Library Web Project
# Architecture
# Presentation
https://github.com/batux/personal_book_library_web_project/blob/master/com.personal.book.library/AngularJS_JavaTechnologies.pdf
# Technologies:
- Java
- JUnit
- MySQL
- MongoDB
- Redis
- Bootstrap CSS
- AngularJS
- Docker
- Google Recaptcha
- Spring Framework
- Spring Core
- Spring Data
- Spring MVC
- Spring Kafka
- Spring Security
- Spring Session
- Spring Redis# Google reCAPTCHA must Changes!
You should create some recaptcha keys from https://www.google.com/recaptcha/admin#list for your application. And then, you should replace PUT_YOUR_KEY symbols with your keys in application.properties files.
``` properties
#Google Captcha v3
google.captcha.site.key=PUT_YOUR_KEY
google.captcha.secret.key=PUT_YOUR_KEY
```# Docker Compose File for Infrastructure
Run these docker commands
```docker
# create docker-machine
docker-machine create --driver virtualbox --virtualbox-memory 6000 kafka# get docker machine ip
docker-machine ip kafka# Docker compose up for Infrastructure
docker-compose -f docker_compose_app_kafka.yml up# list all active docker containers
docker ps -a
```Than you can create a docker compose yml file. You can find it as an example in my repo!
```yml
version: '2'
services:mysql:
image: mysql:latest
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- ~/mysql_data:/var/lib/mysqlmongodb:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- ~/mongodb_data:/data/db mongoredis:
image: redis:latest
ports:
- "6379:6379"zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka:0.10.2.0-1
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1 #192.168.99.100 #{Docker Machine IP}
KAFKA_ADVERTISED_PORT: 9092
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
volumes:
- /var/run/docker.sock:/var/run/docker.sock
```# References
https://www.baeldung.com/spring-security-registration-captcha
# Application screenshots