Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS489 Final Exam – Satellite Control System

A Spring Boot REST API for managing satellites and astronauts, built with Java 21 and PostgreSQL. Includes validation, pagination, DTOs, and Docker-based setup.


Tech Stack

  • Java 21
  • Spring Boot 3.4.4
  • Spring Data JPA
  • Spring Validation
  • PostgreSQL (via Docker)
  • Lombok
  • MapStruct
  • Maven

Project Structure

edu.miu.cs.cs489.satcontrol 
├── controller 
├── dto 
│ ├── request 
│ └── response 
├── exception 
├── mapper 
├── model 
├── repository 
├── service 
│ └── impl


Running with Docker

Start the PostgreSQL container:

docker-compose up -d

API Endpoints

A .http file located in src/test/resources/satcontrol.http for test purpose as an alternative of postman.

Astronauts

Method Endpoint Description
POST /api/v1/astronauts Create astronaut
GET /api/v1/astronauts Get all (sorted)
PUT /api/v1/astronauts/{id} Update astronaut
DELETE /api/v1/astronauts/{id} Delete astronaut

Satellites

Method Endpoint Description
GET /api/v1/satellites Get all satellites
PUT /api/v1/satellites/{id} Update satellite (if allowed)

Screenshot:

01.png 02.png 03a.png 03b.png

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages