https://github.com/nikos-moutafis/rest-teacherapi-mysql
https://github.com/nikos-moutafis/rest-teacherapi-mysql
java8 javaee8 jersey my-sql rest-api
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikos-moutafis/rest-teacherapi-mysql
- Owner: Nikos-Moutafis
- Created: 2023-03-21T11:08:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-24T12:15:18.000Z (almost 2 years ago)
- Last Synced: 2025-01-08T09:22:42.528Z (3 months ago)
- Topics: java8, javaee8, jersey, my-sql, rest-api
- Language: Java
- Homepage:
- Size: 74.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rest-TeacherAPI-MySQL
This is a Java-based REST API that allows clients to perform CRUD (Create, Read, Update, Delete) operations on teachers who are stored
in a MySQL database.The REST endpoints are designed to allow clients to interact
with the database through standard HTTP methods such as GET, POST, PUT, and DELETE
API EndpointsThe following REST endpoints are implemented:
- GET /teachers/?lastname: Get a list of all teachers in the database
- GET /teachers/{id}: Get a specific teacher by ID
- GET /teachers/?lastname = "lastname" : Get a specific teacher by lastname
- POST /teachers: Create a new teacher
- PUT /teachers/{id}: Update an existing teacher
- DELETE /teachers/{id}: Delete a teacher by IDTechnologies Used:
- Java 8
- Java EE 8
- Apache Maven 3.3.2
- MySQL 8.0.32
- Jersey 2.34
- Commons DBCP2 2.9.0
- Jackson 2.34
- Weld CDI