docker compose up -d --build
localhost:5050
- Email: [email protected]
- Password: admin
Add new server
- Host: postgres
- User: admin
- Password: admin
docker compose up -d --build
localhost:5050
Add new server
main
: nhánh chính thức của project. Không làm việc trực tiếp trên nhánh này.dev
: nhánh phụ dự án dùng để test, không làm việc trực tiếp trên nhánh này. Sau khi nhánh dev
được test kĩ lưỡng sẽ được merge vào main
.feature
: đây là các nhánh dùng làm việc và chỉnh sửa trực tiếp. Các nhánh này sẽ được checkout ra từ dev
, sau khi làm xong mở pull request để merge feature
vào dev
để test. Quy tắc đặt tên các nhánh feature
:
feature
sẽ được checkout ra từ dev
thông qua các Issue (các task).hotfix
: nhánh checkout ra từ main
để hotfix, sau đó được merge vào dev
để test.To-do
: Task được tạo ra sẵn để làmOpen
: Task sẵn sàng để giải quyếtIn-progress
: Task đang được thực hiệnCross-review
: Task đang được reviewSolved
: Task được merge vào dev
, sẵn sàng để testTesting
: Task đang được testVerify
: Task đã được test xongDone
: Task đã hoàn thành và close taskReopen
: Task có lỗi và được open lại để tiếp tục làmHigh
: Task quan trọng cần được thực hiện gấpPending
: Task bị tạm dừng để thực hiện task quan trọng hơnSkip
: Task bị bỏ qua, không cần làm nữaTo-do
sẽ được tạo sẵn, chuyển sang Open
để sẵn sàng thực hiện. Người đang thực hiện task nào thì chuyển label của task sang In-progress
, làm xong chuyển label sang Cross-review
để review trước khi merge vào dev
. Sau khi merge chuyển label thành Solved
để test, người test chuyển sang Testing
. Test ổn chuyển sang Verify
sẵn sàng merge vào main
. Sau khi merge vào main
task sẽ chuyển sang Done
. Nếu test không ổn, chuyển lại thành Reopen
để làm tiếp.main
.feature
vào dev
để review. Người làm không được tự ý merge vào dev
hoặc main
.dev
về giải quyết conflict nếu có.dev
.Xác thực admin bằng JWT.
controller
: Các API controller, nhận thông tin từ các request, truyền vào các service
để xử lý và trả về các respone.service
: Xử lý các logic nghiệp vụ, sử dụng các repository
để giao tiếp với database.repository
: Các interface giao tiếp trực tiếp với các bảng trong database.model
: Định nghĩa và đại diện cho các bảng trong database.dto
: Data Transfer Object, tách dữ liệu trong các bảng ở database khỏi thông tin trả về respone (ex: password, deleted_flg,...).exception
: Định nghĩa các custom Exception để try catch.util
: Các hàm phụ không liên quan đến xử lý dữ liệu trong database.model
, không cần viết SQL.docker-compose down && docker image rm -f demo-backend && docker-compose up -d
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.