Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nguyễn Ngọc Minh - Nộp bài cuối kỳ giai đoạn 1 #60

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
507 changes: 507 additions & 0 deletions NguyenNgocMinh-cuoi-ky-gd-1/README.md

Large diffs are not rendered by default.

Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/argocd-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/argocd-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/argocd-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/argocd-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/argocd-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/cicd-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/cicd-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/cicd-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/cicd-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/cicd-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/cicd-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/cicd-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/cicd-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh-cuoi-ky-gd-1/images/cicd-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions NguyenNgocMinh-cuoi-ky-gd-1/images/image1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
119 changes: 119 additions & 0 deletions NguyenNgocMinh/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Mid-term Project Viettel Digital Talent 2024 - Cloud

## Nguyễn Ngọc Minh

### I. Phát triển 3-tier web application
- Hiển thị danh sách sinh viên tham gia chương trình VDT2024 dưới dạng bảng với các thông tin sau: `Họ và tên`, `Giới tính`, `Trường`

![Student List](./images/image1.jpeg)

- Thêm sinh viên

![Add Student](./images/image2.jpeg)

- Kết quả sau khi thêm sinh viên

![Add Student 1](./images/image3.jpeg)

- Xem chi tiết sinh viên

![View Detail Student](./images/image4.jpeg)

- Cập nhật sinh viên

![Update Student](./images/image5.jpeg)

- Kết quả sau khi cập nhật

![Update Student 1](./images/image6.jpeg)

- Xoá sinh viên

![Delete Student](./images/image7.jpeg)

![Delete Student 2](./images/image8.jpeg)

- Code frontend: [Midterm Frontend VDT2024](https://github.com/Minh141120/frontend_midterm_vdt2024)
- Code backend: [Midterm Backend VDT2024](https://github.com/Minh141120/vdt2024_backend_midterm)
- Database: [Database](https://github.com/Minh141120/backend_midterm_vdt2024/blob/main/vdt2024/docker-compose.yml)

- Kết quả chạy unit tests

![Run unittests](./images/image9.jpeg)

- Source code for unit tests: [Unit Test](https://github.com/Minh141120/backend_midterm_vdt2024/tree/main/vdt2024/src/test/java/com/viettel/vdt2024)

### II. Triển khai web application sử dụng các DevOps tools & practices

#### 1. Containerization

- Dockerfile cho backend

![Dockerfile backend](./images/image10.jpeg)

- Dockerfile cho frontend

![Dockerfile frontend](./images/image11.jpeg)

- Docker-compose file cho project

![Docker-compose file1](./images/image12.jpeg)

![Docker-compose file 2](./images/image13.jpeg)

- Đóng gói ứng dụng backend sử dụng câu lệnh `docker build -t nnm-vdt2024-backend-app .`

![docker build backend 1](./images/image14.jpeg)
![docker build backend 2](./images/image15.jpeg)

- Kiểm tra xem image đã được build chưa sử dụng câu lệnh `docker images`

![Check if backend image is created](./images/image17.jpeg)

- Sau khi build xong image, chạy thử image bằng câu lệnh `docker run -d --name vdt2024-backend -p 8080:8080 nnm-vdt2024-backend-app`

![Run backend image](./images/image18.jpeg)

- Build ứng dụng frontend sử dụng câu lệnh `docker build -t nnm-vdt-2024-frontend-app .`

![Build frontend image](./images/image20.jpeg)

- Chạy docker compose file cho dự án frontend + backend

![Docker-compose run 1](./images/image21.jpeg)

![Docker-compose run 2](./images/image22.jpeg)

![Docker-compose run 3](./images/image23.jpeg)

![Docker-compose run 4](./images/image24.jpeg)

![Docker-compose run 5](./images/image25.jpeg)

![Docker-compose run 6](./images/image26.jpeg)

#### 2. Continuous Integration

- File CI

![CI 1](./images/image27.jpeg)
![CI 2](./images/image28.jpeg)

- File logs CI

![CI Logs 1](./images/image29.jpeg)

![CI Logs 2](./images/image30.jpeg)

![CI Logs 3](./images/image31.jpeg)

![CI Logs 4](./images/image32.jpeg)

![CI Logs 5](./images/image33.jpeg)

#### 3. Automation

- Soure code Ansible: [Ansible Source Code](https://github.com/Minh141120/ansible-development/tree/main/roles)

- Chạy Ansible file
![Ansible 1](./images/image34.jpeg)
Binary file added NguyenNgocMinh/Tìm hiểu về GitOps.pdf
Binary file not shown.
Binary file added NguyenNgocMinh/images/image1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh/images/image10.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh/images/image11.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh/images/image12.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh/images/image13.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh/images/image14.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added NguyenNgocMinh/images/image15.jpeg
Binary file added NguyenNgocMinh/images/image16.jpeg
Binary file added NguyenNgocMinh/images/image17.jpeg
Binary file added NguyenNgocMinh/images/image18.jpeg
Binary file added NguyenNgocMinh/images/image19.jpeg
Binary file added NguyenNgocMinh/images/image2.jpeg
Binary file added NguyenNgocMinh/images/image20.jpeg
Binary file added NguyenNgocMinh/images/image21.jpeg
Binary file added NguyenNgocMinh/images/image22.jpeg
Binary file added NguyenNgocMinh/images/image23.jpeg
Binary file added NguyenNgocMinh/images/image24.jpeg
Binary file added NguyenNgocMinh/images/image25.jpeg
Binary file added NguyenNgocMinh/images/image26.jpeg
Binary file added NguyenNgocMinh/images/image27.jpeg
Binary file added NguyenNgocMinh/images/image28.jpeg
Binary file added NguyenNgocMinh/images/image29.jpeg
Binary file added NguyenNgocMinh/images/image3.jpeg
Binary file added NguyenNgocMinh/images/image30.jpeg
Binary file added NguyenNgocMinh/images/image31.jpeg
Binary file added NguyenNgocMinh/images/image32.jpeg
Binary file added NguyenNgocMinh/images/image33.jpeg
Binary file added NguyenNgocMinh/images/image34.jpeg
Binary file added NguyenNgocMinh/images/image4.jpeg
Binary file added NguyenNgocMinh/images/image5.jpeg
Binary file added NguyenNgocMinh/images/image6.jpeg
Binary file added NguyenNgocMinh/images/image7.jpeg
Binary file added NguyenNgocMinh/images/image8.jpeg
Binary file added NguyenNgocMinh/images/image9.jpeg
2 changes: 0 additions & 2 deletions README.md

This file was deleted.