https://github.com/carrington-dev/spring-boot-gradle-mart-api
Spring-boot Tutorial For Beginners with gradle (Complete API)
https://github.com/carrington-dev/spring-boot-gradle-mart-api
Last synced: 10 months ago
JSON representation
Spring-boot Tutorial For Beginners with gradle (Complete API)
- Host: GitHub
- URL: https://github.com/carrington-dev/spring-boot-gradle-mart-api
- Owner: Carrington-dev
- Created: 2024-03-15T07:08:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T07:19:43.000Z (about 2 years ago)
- Last Synced: 2025-01-09T11:45:14.236Z (over 1 year ago)
- Language: Java
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-boot-gradle-mart-api
## Product Controller Endpoints
```bash
/products
# products (read, create, update, no delete)
```
```bash
/all/products
# products (read, create, update, no delete)
```
```bash
/home
```
## Product Controller Endpoints
```bash
/todos
# todos (no read, no create, no update, no delete) just dummy
```
```bash
/all/todos
# todos ( read, no create, no update, no delete) just dummy
```
## Models
```Java
class Product{}
class Todos{}
```
## Repository
```Java
class ProductRepository{}
```
## Database
My SQL Database
````
server.port=8080
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://localhost:3306/oftmart
spring.datasource.username=shoppy
spring.datasource.password=#Mulalo96
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.jpa.show-sql: true
spring.jackson.serialization.indent_output=true
```