A complete Full Stack Web Application for registering students using:
- ⚛️ React (Vite) — Frontend
- ☕ Spring Boot — Backend
- 🍃 MongoDB Atlas — Database
- Student Registration Form
- REST API integration
- Data stored in MongoDB Atlas
- Clean UI with React
- Full backend architecture (Controller → Service → Repository)
- Ready for AWS deployment
StudentRegistrationSystem/
│
├── client/ # React Frontend (Vite)
│ ├── src/
│ ├── public/
│ └── package.json
│
├── server/ # Spring Boot Backend
│ ├── src/main/java/
│ ├── src/main/resources/
│ └── pom.xml
│
└── README.md
- React (Vite)
- JavaScript
- CSS
- Spring Boot
- Java
- Spring Web
- Spring Data MongoDB
- MongoDB Atlas
git clone https://github.com/MukulParasar/student-registration-system.git
cd student-registration-system
cd client
npm install
npm run dev
👉 Runs on: http://localhost:5173
cd server
mvn spring-boot:run
👉 Runs on: http://localhost:5000
POST /api/students
{
"rollNo": "101",
"name": "Mukul",
"fatherName": "ABC",
"emailId": "mukul@gmail.com",
"department": "CSE",
"course": "B.Tech",
"mobileNo": "9999999999"
}
Create application.properties inside:
server/src/main/resources/
Add:
spring.data.mongodb.uri=${MONGODB_URI}
Create .env file (DO NOT push to GitHub):
MONGODB_URI=mongodb+srv://<username>:<password>@cluster0.mongodb.net/registrationAPI
- Do NOT commit
application.propertieswith credentials - Do NOT push
.envfile - Use
.gitignoreproperly
Make sure these are ignored:
node_modules/
target/
.env
application.properties
You can test backend using:
- Postman
- React Frontend
Backend:
-
Generate JAR:
mvn clean package -
Deploy on AWS Elastic Beanstalk / EC2
Frontend:
- Deploy on Vercel / Netlify / AWS
Mukul
B.Tech CSE Student | Java Backend Developer
This project is licensed under the MIT License.
This project was built for learning full stack development using modern technologies.
- Add Login/Authentication
- Add Student List (GET API)
- Form Validation
- UI Improvements
- Admin Dashboard