An open API service indexing awesome lists of open source software.

https://github.com/xlaez/spring-basic-crud

This application is just a basi CRUD which should give users an insight of how to make use of spring-boot to create REST APIs
https://github.com/xlaez/spring-basic-crud

java maven rest-api spring-boot

Last synced: over 1 year ago
JSON representation

This application is just a basi CRUD which should give users an insight of how to make use of spring-boot to create REST APIs

Awesome Lists containing this project

README

          

### JAVA BASIC SPRING BOOT CRUD APP
This application gives a basic idea for how building REST applications with spring boot feels.
Requirements to run the application:
* Java (version >= 17)
* Docker
* PostgreSQL docker Image

You can make edits to the docker-compose file in the root directory to better satisfy your taste.
To connect to postgresql run
```bash
docker-compose up
```
and to stop, run
```bash
docker-compose down
```
To create the database used by this application, run
```bash
docker exec -it postgres13 createdb --username=root --owner=root customer
```
and to reove the database, run
```bash
docker exec -it postgres13 dropdb customer
```
Sevrer would run on port 8180 when you run the application.

IDE Recommendation: INTELLIJ