Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hxari/services
Web Service Rest API with Spring Boot
https://github.com/hxari/services
java java-17 maven rest-api services spring spring-boot spring-security
Last synced: about 1 month ago
JSON representation
Web Service Rest API with Spring Boot
- Host: GitHub
- URL: https://github.com/hxari/services
- Owner: hxAri
- Created: 2023-08-31T18:51:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-01T13:23:23.000Z (over 1 year ago)
- Last Synced: 2024-10-16T01:28:14.695Z (3 months ago)
- Topics: java, java-17, maven, rest-api, services, spring, spring-boot, spring-security
- Language: Java
- Homepage:
- Size: 253 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Web Service Rest API
Web Services Rest API with Sping Boot v3.1.3 which is equipped with JWT (JSON Web Token)
Authentication feature, uses Elasticsearch as Storage Database and also Swagger UI for
Endpoint API documentation, MySQL version is available [here](https://github.com/hxAri/Services/tree/v1.0.2)# Dependency
* co.elastic.clients:elasticsearch-java:**7.17.8**
* com.fasterxml.jackson.core:jackson-databind:**2.15.2**
* com.fasterxml.jackson.datatype:jackson-datatype-jsr310:**2.15.2**
* io.jsonwebtoken:jjwt-api:**0.11.5**
* io.jsonwebtoken:jjwt-impl:**0.11.5**
* io.jsonwebtoken:jjwt-jackson:**0.11.5**
* org.springdoc:springdoc-openapi-starter-webmvc-ui:**2.2.0**
* org.springframework.boot:spring-boot-starter-security:**3.1.3**
* org.springframework.boot:spring-boot-starter-web:**3.1.3**# Request URI
The following is a list of available Request URIs:
* **GET** API get current authority role.
* http://127.0.0.1:8004/api/v1/auth
* **POST** API for signin.
* http://127.0.0.1:8004/api/v1/auth/signin
* **POST** API for user signup.
* http://127.0.0.1:8004/api/v1/auth/signup
* **GET** API for get all product (Only by Authenticated User ID).
* http://127.0.0.1:8004/api/v1/product
* **POST** API for add product.
* http://127.0.0.1:8004/api/v1/product
* **PUT** API for update product.
* http://127.0.0.1:8004/api/v1/product/{id}
* **DELETE** API for delete product.
* http://127.0.0.1:8004/api/v1/product/{id}
* **GET** API for get current authenticated user info.
* http://127.0.0.1:8004/api/v1/user
* **PUT** API for update user info.
* http://127.0.0.1:8004/api/v1/user/
* **DELETE** API for delete user **ONLY ROOT ROLE AUTHORITY**
* http://127.0.0.1:8004/api/v1/user/{id}## Licence
All source code is licensed under the GNU General Public License v3. Please [see](https://www.gnu.org/licenses) the original document for more details.