8000 GitHub - Jo-cloud85/mini_restful_api_java
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Jo-cloud85/mini_restful_api_java

Folders and files

< 97E8 td class="react-directory-row-name-cell-small-screen" colSpan="2">
NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini RESTful API Project

This is a simple Java-based mini RESTful API project that demonstrates basic CRUD (Create, Read, Update, Delete) operations. The project uses the Spring Boot framework to build a lightweight and easily deployable API. You can download the Chrome extension Talend API Tester to experiment with API.

Getting Started

Follow these instructions to get a copy of the project up and running on your local machine.

Prerequisites

Installing

  1. Clone the repository:

    git clone https://github.com/your-username/mini-restful-api-java.git
  2. Navigate to the project directory:

    cd mini-restful-api-java
  3. Build the project using Maven:

    mvn clean install
  4. Run the application:

    java -jar target/mini-restful-api.jar

The API will be accessible at http://localhost:8080.

API Endpoints

Create a new user

  • Endpoint: /users

  • HTTP Method: POST

  • Request Body:

    {
        "user_name": "John",
        "birth_date": "2014-01-01"
    }

Get all users

  • Endpoint: /users
  • HTTP Method: GET

Get a specific user

  • Endpoint: /users/{Id}
  • HTTP Method: GET

Delete an item

  • Endpoint: /users/{Id}
  • HTTP Method: DELETE

Technologies Used

  • Spring Boot - Framework for building Java-based applications
  • Maven - Dependency management

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0