Skip to content

A web application for new student registration and existing student data retrieval.

Notifications You must be signed in to change notification settings

nith1n/Student-Registration-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Student Registation Application

A web application for new student registration and existing student data retrieval.

' server ' directory - Contains the spring boot backend project
' front-end ' directiory - Contains the react frontend project

The project is developed using spring boot as the backend service, react.js as the frontend technology and mongodb as the database.

In order to run the project, the user needs to have mongodb installed locally.

Usage

Run mongodb ( Windows )

mongod

or

Run mongodb ( Linux )

sudo systemctl start mongod

Run Springboot App - from 'server' directory

mvn clean spring-boot:run

Run React App - from 'front-end' directory

npm install
npm start

Front End URL

http://localhost:3000/

Back End URL

http://localhost:8080/

REST API End Points

- GET request to return all student's details.

URL : /all
method : GET
success response :
code : 200
content-type : application/json
content :
[ { "id": 1, "name": "John Doe", "dateOfBirth": "08/07/1991", "dobDay": "08", "dobMonth": "07", "dobYear": "2014", "grade": "II", "division": "B", "gender": "Male", "rollNumber": "R-001" }, ]

- POST request to create new student

URL : /create
method:POST
content-type : application/json
request body :
{ "name" :" John Doe ", "dobDay":"08", "dobMonth":"07", "dobYear":"2014", "grade" : "II", "division":"B", "gender":"Male" }
success response :
code : 200
content-type : text/plain
content : New Student 'John Doe' has been Added

End

About

A web application for new student registration and existing student data retrieval.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published