- Cannection with Mongodb
- Required Technical Skills:
- Core Java
- Spring Boot & MVC
- Knowledge About Mongodb Database
- STS (Spring Suite Tool)
- Mongodb Compass
- VS Code With Thunder Clients Extensions
- In this project i have created two collections(tables in terms of sql database) in mongodb.
- First Collection name is StudentDetails and Second Collection is Subjects.
Entities Name | DataType |
---|---|
ID | String |
Student Name | String |
Father Name | String |
Mother Name | String |
School Name | String |
Roll Number | String |
Phone Number | String |
Email ID | String |
Subject Name | String |
Subject Marks | Integer |
Total Marks | Integer |
Percentage | Double |
- Note : Here Subject Name & Subject Marks Store using HsahMap ( where Subject Name : Key , Subject Marks : Values)
Entities Name | Data Type |
---|---|
id | String |
maximum Marks | String |
Obtained Marks | String |
Subject Name | String |
Student Name | String |
Student Id | String |
- In this Collection i have store Student Name and Student Id using Hash Map. Where Student Name is key and Student Id is values. And Please Noted down here Student Name and Student Id will be same as from StudentDetails collection.
- Call an API for StudentDetails collection which give top 3 student details on the basic of their percentage.
- Perform CRUD opertation for StudentDetail collection.
- Call an APi which create all subjects objects in subjects collection when if any dacument inserted studentDetails collections.
- Make an API if i change any subject obtained marks in subjects collection then that subjects marks also changed in Studentdetails collection, and then based on the updated marks ,in studentDetails collection total marks and percentage will also changed.