Skip to content

Course App API is a Java-based backend service for managing courses, students, and enrollments. Powered by Spring Boot and MySQL, it offers features like course and student management, enrollment handling, and seamless integration for educational platforms. Simplify course administration and enhance student experience with Course App API.

Notifications You must be signed in to change notification settings

anmol111pal/Courses-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Course App API

Overview

The Course App API is a backend service for managing courses, students, and their enrollments. It provides endpoints to manage course details, student information, and enrollments, allowing clients to fetch courses a student is enrolled in and students enrolled in a particular course.

Features

  • Manage Courses: Add, update, delete, and retrieve course details.
  • Manage Students: Add, update, delete, and retrieve student information.
  • Manage Enrollments: Enroll students in courses and fetch enrollment details.

Technologies Used

  • Java 17
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • MySQL
  • Postman

Instructions

Modify application.properties file:

  • Modify the application.properties file to include the username and password for MySQL database

API Endpoints

Courses

  • Get all courses:

    GET /api/courses
  • Get a course by ID:

    GET /api/courses/{id}
  • Add a new course:

    POST /api/courses
  • Update a course:

    PUT /api/courses/{id}
  • Delete a course:

    DELETE /api/courses/{id}

Students

  • Get all students:

    GET /api/students
  • Get a student by ID:

    GET /api/students/{id}
  • Add a new student:

    POST /api/students
  • Update a student:

    PUT /api/students/{id}
  • Delete a student:

    DELETE /api/students/{id}

Enrollments

  • Get all courses a student is enrolled in:

    GET /api/student/{id}/courses
  • Get all students enrolled in a course:

    GET /api/course/{id}/students

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

About

Course App API is a Java-based backend service for managing courses, students, and enrollments. Powered by Spring Boot and MySQL, it offers features like course and student management, enrollment handling, and seamless integration for educational platforms. Simplify course administration and enhance student experience with Course App API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages