Skip to content

Commit

Permalink
nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarwajage committed Sep 24, 2022
2 parents f10bf48 + e67b7e6 commit 685d5b1
Show file tree
Hide file tree
Showing 11 changed files with 464 additions and 443 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,15 @@ public List<Courses> coursesbystudentid(int id) //get all courses by student id
return courses;
}


public Courses studentupcommingcourse(int sid) //gives upcoming one course lecture for particular student
{
Courses course;
course=coursesRepository.upcomming_course_student(sid);

return course;

}


}
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public void deleteTeacher(int id) {

public boolean updateteacher(Teacher teacher)
{
<<<<<<< HEAD
Optional<Teacher> updateT= teacherRepository.findById(teacher.getTeacher_id());


Expand All @@ -63,6 +64,16 @@ public boolean updateteacher(Teacher teacher)
System.out.print(teacher.getTeacher_qualification());
System.out.print(teacher.getTeacher_username());
System.out.print(teacher.getAddress());
=======

Optional<Teacher> updateT= teacherRepository.findById(teacher.getTeacher_id());


// Teacher updateTeacher = teacherRepository.findteach(teacher.getTeacher_id());



>>>>>>> e67b7e69fca232248617bf3370f713d5440fbc9a

if(updateT.isPresent())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@

@Entity
@Data
//@AllArgsConstructor
//@NoArgsConstructor

@IdClass(CompositeRegister.class)
public class Registration
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spring.jpa.show-sql=true

#hibernate properties
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.ddl-auto=create

spring.session.jdbc.initialize-schema: always
spring.main.allow-bean-definition-overriding=true
Expand Down
58 changes: 58 additions & 0 deletions react-ui/dependices.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@

first command :--

npm install


if some dependecies not found or gives error while running projects ...
---------------------------------------------------------------

dependencies to run projects:--


/* ----for routing---*/

npm install react-router-dom


/* ----for api integration---*/

npm install axios


/* ----for bootstrap css---*/

npm install react-bootstrap bootstrap


/*---- for social icons in footer---- */

npm install react-social-icons


/*----- for redux storage -----

npm install react-redux --save

/*----- for react icons

npm install react-icons --save

/*--- for react calendar

npm install react-calendar


/*-----

npm install react-hook-form


/*--- for email validator

npm install validator


/*-- for sweetalert

npm install sweetalert --save

0 comments on commit 685d5b1

Please sign in to comment.