- About Student Management System 💻✨
- Features
- Technologies Used
- Prerequisites
- Setup Instructions
- Manual Deployment on Tomcat
- Access MySQL Client
- SQL Commands
- Contributing
- License
- Author
The Student Management System is a comprehensive web application designed for efficient management of student data. Built using Java, Servlets, and MySQL for the backend and HTML, CSS, and JavaScript for the frontend, this project aims to provide a seamless experience for handling basic CRUD operations.
Key features include:
- Adding, editing, deleting, and listing students.
- An intuitive web-based UI/UX.
- Integration with MySQL for robust data management.
Whether you’re an educator, administrator, or developer, this system offers a practical solution for managing student information efficiently.
- Basic CRUD operations with a simple web interface.
- Add, edit, delete, and show list of students.
- Perform all operations via UI/UX (WebPages).
- Java 8
- Servlets
- MySQL
- HTML/CSS
- JavaScript
- Java 8 or higher
- Maven
- MySQL
- Apache Tomcat Server
- In my case it was copied on path
C:\Users\xyz\Documents
git clone https://github.com/iamvisshu/StudentManagementSystem.git
cd StudentManagementSystem
- Launch Intellij Idea IDE.
- Go to >> New >> Project from existing Sources >> select you project folder and import it.
- Right click on project and build it by option "Build Module".
- Or goto terminal and type
mvn clean install
to build the project.
- Follow below steps to run the project.
- NOTE : Create table and add some dummy data, both things by using given sql files :
StudentManagementSystem\src\main\resources\db\schema.sql and data.sql
-
Package Your Application: Ensure your Java project is packaged as a
.war
file. In IntelliJ IDEA, go to Build > Build Artifacts > Build. -
Locate the .war File: The
.war
file will typically be found in the target directory of your project. In my case it was on pathC:\Users\xyz\Documents\StudentManagementSystem\target\StudentManagementSystem-1.0-SNAPSHOT.war
-
Copy .war to Tomcat: Navigate to your Tomcat installation directory and find the webapps folder (example:
C:\Users\xyz\Documents\apache-tomcat-9.0.93\webapps
). -
Deploy .war File: Copy your
StudentManagementSystem-1.0-SNAPSHOT.war
file to the webapps directory. -
Start Tomcat: Go to path
C:\Users\xyz\Documents\apache-tomcat-9.0.93\bin
. Start your Tomcat server by running thestartup.bat
(Windows) or startup.sh (Linux/macOS) script found in the bin directory of your Tomcat installation. -
Access Your Application: Open your browser and go to
http://localhost:8080/StudentManagementSystem-1.0-SNAPSHOT/
-
Navigate to the MySQL installation directory: Typically, this is
C:\Program Files\MySQL\MySQL Server 8.0\bin
. -
Open Command Prompt: Press
Win + R
, typecmd
, and hit Enter. -
Run MySQL Client: In the Command Prompt, navigate to the MySQL bin directory using
cd C:\Program Files\MySQL\MySQL Server 8.0\bin
. -
Connect to MySQL: Run
mysql -u root -p
and enter your password when prompted.
-
Open Terminal: Open your Terminal app.
-
Run MySQL Client: Simply type
mysql -u root -p
and hit Enter. Enter your password when prompted.
mysql> mysql -u root -p
mysql> USE student_db;
mysql> select * from students;
We welcome contributions to this project! If you'd like to contribute, please:
- Fork the repository on GitHub.
- Make your changes and create a pull request.
- Follow any coding style guidelines mentioned in the code (if any).
- This project is licensed under the Open-source [MIT License].
- @iamvisshu - Vishal Vishwakarma 😇