Skip to content

4x2vk/ScheduleAPI

Repository files navigation

🗓️ Schedule API

A lightweight RESTful service for managing schedules — create, view, update, and delete events securely with password-based verification.

image

Built with

JDK 17 Spring Boot 3.5.4 Spring Data JPA MySQL Lombok


Features

  • Create new schedules with title, contents, editor and password
  • Retrieve all existing schedules
  • Update a schedule by ID (password required)
  • Delete a schedule by ID (password required)
  • Auto-generated timestamps for creation and last update

Security & Authorization

  • No user login required
  • Password-based protection for updating and deleting schedules
  • Passwords are never exposed in API responses

API Reference

Full documentation now lives:

🔗 Check API Docs from this link


Entity Relationship Diagram

Visual representation of the database schema:

🔗 View ERD from this link


Example Request

POST /schedule
Content-Type: application/json

{
  "title": "Zoom Session",
  "contents": "Discuss API and ERD",
  "name": "HongGilDong",
  "password": "secretpass"
}

📁Directory Structure

src/
├── controller/    # REST controllers
├── service/       # Business logic                
├── repository/    # JPA repositories
├── entity/        # JPA entities
├── dto/           # Request/Response DTOs
└── ScheduleApiApplication.java

About

RESTful service for managing schedules

Topics

Resources

Stars

Watchers

Forks

Languages