Bu proje, öğrencilerin ders programlarını oluşturmasına yardımcı olmak için bir API sunar.
- Go 1.20 ve üzeri
- Sqlite3
- Projeyi klonlayın
git clone git@github.com:Fbulkaya/Student_scheduler.git- Projeyi çalıştırın
cd Student_scheduler
go run .curl -X POST http://localhost:8080/students -d '{"name": "John Doe", "email": "jhon@example.com"}'curl -X PUT http://localhost:8080/students/1 -d '{"name": "John Doe", "email": "jhon@example.com"}'curl -X DELETE http://localhost:8080/students/1curl http://localhost:8080/studentscurl http://localhost:8080/students/1curl -X POST http://localhost:8080/students/1/plans -d '{"desc": "Math", "start_date": "2021-01-01 10:00", "end_date": "2021-01-01 12:00"}'curl -X PUT http://localhost:8080/students/1/plans/1 -d '{"desc": "Math", "start_date": "2021-01-01 10:00", "end_date": "2021-01-01 12:00"}'curl -X DELETE http://localhost:8080/students/1/plans/1curl http://localhost:8080/students/1/planscurl http://localhost:8080/students/1/plans/1