- JDK >= 1.8
- npm = 8.3.1
- maven
- Junit 4
- User
- Student
- Professor
-
student's information
name | email | school name
-
professor's information
name | email | school name | course taught
API's to be designed
-
Add a user
-
Update a user
-
List the users
-
Delete a user
-
Search APIs like below
a) Find all the students in the given school
b) Find Students
c) Find Professors
- UI for api operations
- Form Inputs for add
- List items
-
POST /student - creates a student
-
GET /student/{id} - find student with id
-
GET /student - gets all students
-
PUT /student/{id} - update student with id
-
GET /student?school_name={school_name} - find all students in a school
-
DELETE /student/{id} - deletes student with id
-
POST /professor - creates a professor
-
GET /professor/{id} - find professor with id
-
GET /professor - gets all professors
-
PUT /professor/{id} - update professor with id
-
GET /professor?school_name={school_name} - find all professors in a school
-
DELETE /professor/{id} - deletes professor with id
ui currently only have capability for create, list, delete.
More to be added later.
git clone https://github.com/rohit25s/schoolsystem-fullstack-springboot-react.git
- unzip repo
cd schoolsystem
./mvnw spring-boot:run
use Postman or curl to run api
e.g
GET http://localhost:8080/student/1
cd schoolsystemfrontend
npm install
npm start
./mvnw test
Open in Browser http://localhost:3000