SDN301m_-_SU_2024_-_PE_2147.webp
Đ

SDN301m_-_SU_2024_-_PE_2147.webp

Implement a part of Football statistics management System. The situation is described as a position that has many football players involved and a player statistic belongs to only one position.Your database contains 3 collections; the database schema as the follow:
positions ({
position: {String, require: true},}, {timestamps: true,});
players ({
playerName: {type: String, require: true), team: {type: String, require: true},minutesPlayed: {type: Number, require: true}, image: {type: String, require: true},Passing Accuracy: {type: Number, require: true}, isCaptain: {type: Boolean, default: false}position: {type: mongoose.Schema. Types. ObjectId, ref: "Positions", require: true},},{timestamps:true,});
members ({
key: {type: String, require: true},code: {type: String, require: true},}, {timestamps: true,});
Task 01 (1.0 mark). Using Express generator for developing the REST API server, creating related models then migrate to database named PE_SDN301m_SU24_20240701_StudentCodeDB (MongoDB).

Zoun

Thông tin

Category
SDN301m
Thêm bởi
Đức Hùng1
Ngày thêm
Lượt xem
956
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
SDN301m_-_SU_2024_-_PE_2147.webp
File size
51.5 KB
Dimensions
797px x 726px

Share this media

Back
Bên trên Bottom