GitHunt
ND

ndayishimiyeeric/content-calender

Content Calender Spring Boot REST API

Content Calender Spring RESP API

This project showcases the power of Java and Spring Boot,
combined with a Postgres database, to create a versatile
and efficient API for managing various types of content.
This project is used for learning and experimentation.

Built With:

  • Java
  • Spring Boot
  • Postgres Database

Key Features:

  • Use Spring Data JDBC
  • REST API
  • CRUD + Filtering functionalities

Endpoints

Get Details (Home)

GET /

Get All contents

GET /api/content/

Get a specific content

GET /api/content/{{id}}

Add a new content

  • enum status "IDEA", "IN_PROGRESS", "COMPLETED", "PUBLISHED"
  • enum contentType "ARTICLE", "VIDEO", "COURSE", "CONFERENCE_TALK"
POST /api/content/
Content-Type: application/json
{
  "id": null,
  "title": "",
  "desc": "",
  "url": "",
  "status": "",
  "contentType": "",
  "dateCreated": "",
  "dateUpdated": null
}

Update existing content

  • enum status "IDEA", "IN_PROGRESS", "COMPLETED", "PUBLISHED"
  • enum contentType "ARTICLE", "VIDEO", "COURSE", "CONFERENCE_TALK"
PUT /api/content/{{id}}
Content-Type: application/json
{
  "id": null,
  "title": "",
  "desc": "",
  "url": "",
  "status": "",
  "contentType": "",
  "dateCreated": "",
  "dateUpdated": null
}

Delete existing content

DELETE /api/content/{{id}}

Filter by keyword

GET /api/content/filter/{{keyword}}

Filter by status

GET /api/content/filter/status/{{status}}

Author

๐Ÿ‘ค Odaltoneric

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a โญ๏ธ if you like this project!