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
- Host: GitHub
- URL: https://github.com/xlaez/spring-basic-crud
- Owner: Xlaez
- Created: 2023-02-26T12:04:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T12:52:57.000Z (over 3 years ago)
- Last Synced: 2025-01-20T21:23:23.134Z (over 1 year ago)
- Topics: java, maven, rest-api, spring-boot
- Language: Java
- Homepage:
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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