mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-06-08 10:47:13 +00:00
remove mkdocs specific syntax
This commit is contained in:
parent
8d08c1964f
commit
8026e1465b
77 changed files with 1128 additions and 1128 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
File specifing project dependencies.
|
||||
|
||||
```xml linenums="1"
|
||||
```xml
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
## application.properties
|
||||
|
||||
```ini linenums="1"
|
||||
```ini
|
||||
spring.datasource.url=DB_url
|
||||
spring.datasource.username=user
|
||||
spring.datasource.password=password
|
||||
|
@ -24,7 +24,7 @@ server.port=server_port
|
|||
|
||||
Model of a table of the DB
|
||||
|
||||
```java linenums="1"
|
||||
```java
|
||||
package <base_package>.entities;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
|
@ -54,7 +54,7 @@ public class Entity {
|
|||
|
||||
Spring Interface for DB connection and CRUD operations.
|
||||
|
||||
```java linenums="1"
|
||||
```java
|
||||
package <base_package>.dal // or .repository
|
||||
|
||||
import org.springframework.data.repository.JpaRepository;
|
||||
|
@ -77,7 +77,7 @@ Interfaces and method to access the Data Access Layer (DAL).
|
|||
|
||||
In `IEntityService.java`:
|
||||
|
||||
```java linenums="1"
|
||||
```java
|
||||
package <base_package>.services;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -105,7 +105,7 @@ public interface IEntityService {
|
|||
|
||||
In `EntityService.java`:
|
||||
|
||||
```java linenums="1"
|
||||
```java
|
||||
package <base_package>.services;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -161,7 +161,7 @@ public class EntityService implements IEntityService {
|
|||
|
||||
REST API routes & endpoints to supply data as JSON.
|
||||
|
||||
```java linenums="1"
|
||||
```java
|
||||
package <base_package>.integration;
|
||||
|
||||
import java.util.List;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue