Aşağıda, Student-Registration-System projesi için GitHub'daki README.md dosyasına uygun bir açıklama hazırladım. Bu açıklama, Angular frontend ve .NET Core backend ile öğrenci ekleme, silme, güncelleme ve listeleme işlemlerini anlatıyor.
This project is a Student Registration System built using Angular for the frontend and .NET Core for the backend. The system provides basic CRUD (Create, Read, Update, Delete) operations for managing student records.
- Add Student: Create new student records.
- Update Student: Edit existing student information.
- Delete Student: Remove a student from the system.
- List Students: Display all registered students.
- Frontend: Angular
- Backend: .NET Core Web API
- Database: PostgreSQL or any other RDBMS
-
Clone the repository:
git clone https://github.com/your-username/Student-Registration-System.git
-
Navigate to the backend folder:
cd Student-Registration-System/Backend -
Restore the dependencies:
dotnet restore
-
Update the connection string in
appsettings.jsonfor your database:"ConnectionStrings": { "DefaultConnection": "Your PostgreSQL connection string here" }
-
Apply migrations (if using Entity Framework):
dotnet ef database update
-
Run the API:
dotnet run
-
Navigate to the frontend folder:
cd Student-Registration-System/Frontend -
Install the required dependencies:
npm install
-
Run the Angular development server:
ng serve
-
Open your browser and navigate to
http://localhost:4200to use the application.
Here are the main API endpoints for the student management system:
- GET /api/students: Retrieve the list of students.
- GET /api/students/{id}: Retrieve a student by ID.
- POST /api/students: Add a new student.
- PUT /api/students/{id}: Update a student's information.
- DELETE /api/students/{id}: Delete a student.
- Add Student: Fill out the student registration form and click "Submit" to add a new student.
- Edit Student: Select a student from the list, update their details, and save the changes.
- Delete Student: Click the "Delete" button next to a student to remove them from the system.