Commit d63db412 authored by EnesKarakas's avatar EnesKarakas
Browse files

created fronted

parent 1a63fcaa
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style></style>
<title>Document</title>
</head>
<body></body>
</html>
...@@ -25,7 +25,10 @@ ...@@ -25,7 +25,10 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency> <dependency>
<groupId>com.mysql</groupId> <groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId> <artifactId>mysql-connector-j</artifactId>
......
package com.SWP.SS24.Wetterdaten_sammeln.entity;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
@Entity
public class historicData {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
private String name;
}
spring.datasource.url=jdbc:mysql://db.fkc.hft-stuttgart.de/dp4s_22kaen1bdi
spring.datasource.username=dp4s_22kaen1bdi
spring.datasource.password=jAiCHaeNDEREeS
spring.jpa.hibernate.ddl-auto=create-drop
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment