This project is a School Management System designed to facilitate CRUD (Create, Read, Update, Delete) operations for student records. It utilizes Angular for the frontend and Django with Django Rest Framework for the backend.
- Frontend Framework: TypeScript & Angular
- Backend Framework: Django & Django Rest Framework
- Database: MySQL database with XAMPP
- IDE: Visual Studio Code
- API Tool: Postman
- CRUD Operations: Allows administrators to Create, Read, Update, and Delete student records.
- User Authentication: Secure login system for administrators.
- Database Management: Integration with MySQL database for storing student information.
- Responsive Design: User-friendly interface accessible on both desktop and mobile devices.
- Data Validation: Ensures that only valid student information is accepted during record creation and updates.
- Error Handling: Provides informative error messages for any encountered issues during CRUD operations.
- API Documentation: Documentation available for the backend API endpoints.
- Install Django 3.2.
- Create a Django project named
SchoolManagementSystem. - Install XAMPP and pymysql.
- Create and activate a virtual environment.
- Install Django inside the virtual environment.
- Create a new Django application named
StudentApp. - Add
StudentApptoINSTALLED_APPSinsettings.py. - Install django-cors-headers and djangorestframework.
- Configure CORS and REST framework settings in
settings.py. - Create a
Studentmodel inStudentApp/models.py. - Create serializers for the
Studentmodel inStudentApp/serializers.py. - Configure MySQL database connection in
settings.py. - Create views to handle CRUD operations in
StudentApp/views.py. - Define URLs for API endpoints in
urls.py.
- Install Angular CLI 16 or greater than 16 and create a new Angular application named
FrontEnd. - Enable Routing in the app
- Generate a custom component for CRUD operations using Angular CLI.
- Implement HTML template and component logic for CRUD operations in
crud.component.htmlandcrud.component.ts. - Use Bootstrap for styling by adding Bootstrap styles to
index.html.
- Start the Django development server using
python manage.py runserver. - Start the Angular development server using
ng serve. - Access the application frontend in the browser.
- Perform CRUD operations on student records using the provided interface.
school-management-system/ │ ├── backend/
│ ├── SchoolManagementSystem/
│ │ ├── settings.py
│ │ ├── urls.py
│ │ └── ...
│ ├── StudentApp/
│ │ ├── models.py
│ │ ├── serializers.py
│ │ ├── views.py
│ │ └── ...
│ └── ...
│ └── front-end/
├── src/
│ ├── app/
│ │ ├── crud/
│ │ │ ├── crud.component.html
│ │ │ ├── crud.component.scss
│ │ │ └── crud.component.ts
│ │ └── ...
│ ├── app.module.ts
│ └── ...
├── angular.json
├── package.json
└── ...
##Clone the repository:
git clone https://github.com/yash-soni04/School-Management-System-Using-AngularJS.git
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request.