Skip to content

piotr-bujnowski/courses-rest-api-springboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Courses REST API springboot

This a very basic REST API using spring boot.
Databases are stored on Apache Derby.

GET requests:

/topics - all topics
/topic/{id}

/topic/{topicId}/courses - all courses
/topic/{topicId}/course/{id}

/topic/{topicId}/course/{courseId}/lessons - all lessons
/topic/{topicId}/course/{courseId}/lesson/{id}

POST requests:

/topic

{  
    "id": "topicId",  
    "name": "Topic",  
    "description": "This is a topic"  
}  

/topic/{topicId}/course

{  
    "id": "courseId",  
    "name": "Course",  
    "description": "This is a course"  
}

/topic/{topicId}/course/{courseId}/lesson

{
    "id": "lessonId",
    "name": "Lesson",
    "description": "This is a lesson"
}

PUT requests:

/topic/{id}
/topic/{topicId}/course
/topic/{topicId}/course/{courseId}/lesson/{id}

DELETE requests:

/topic/{id}
/topic/{topicId}/course/{id}
/topic/{topicId}/course/{courseId}/lesson/{id}

About

This a very basic REST API using spring boot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages