Skip to content

sangngng/student-management-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Student Management System - REST API

A simple RESTful API built with Java and Spring Boot for managing student records. This project demonstrates core concepts of backend development including MVC architecture, database integration (H2 in-memory db), and proper dependency management.

Tech Stack

  • Java 17
  • Spring Boot 3 (Spring Web, Spring Data JPA)
  • H2 Database (In-memory)
  • Maven

Features

  • Complete CRUD operations (Create, Read, Update, Delete) for student records.
  • In-memory database for easy setup and testing without external dependencies.
  • RESTful endpoints following standard naming conventions.

Getting Started

Prerequisites

  • Java JDK 17 or higher
  • Maven 3.6+

Run the Application

  1. Clone the repository:
    git clone https://github.com/sangngng/student-management-api.git
  2. Navigate to project directory:
    cd student-management-api
  3. Run the application using Maven:
    mvn spring-boot:run

API Endpoints

  • GET /api/v1/students : Get all students
  • POST /api/v1/students : Create a new student

To access the H2 database console, go to http://localhost:8080/h2-console (JDBC URL: jdbc:h2:mem:studentdb).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages