spring-boot-postgresql-jpa-hibernate-rest-api-demo:使用Spring Boot,PostgreSQL,JPA和Hibernate构建RESTful API

时间:2021-01-30 10:01:18
【文件属性】:
文件名称:spring-boot-postgresql-jpa-hibernate-rest-api-demo:使用Spring Boot,PostgreSQL,JPA和Hibernate构建RESTful API
文件大小:59KB
文件格式:ZIP
更新时间:2021-01-30 10:01:18
postgres rest spring spring-boot jpa Spring Boot,PostgreSQL,JPA,Hibernate REST API演示 讲解 在CalliCoder博客上查看完整的教程- 设定步骤 1.克隆存储库 git clone https://github.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo.git 2.配置PostgreSQL 首先,创建一个名为postgres_demo的数据库。 然后,打开src/main/resources/application.properties文件,并根据PostgreSQL安装更改spring数据源的用户名和密码。 3.运行应用 从项目的根目录中键入以下命令以运行它- mvn spring-boot:run 另外,您可以将应用程序打包为JAR文件的形式,然后像这样运行它- mvn clean package java -jar target/postgres-demo-0.0.1-SNAPSHOT.jar
【文件预览】:
spring-boot-postgresql-jpa-hibernate-rest-api-demo-master
----.gitignore(268B)
----.mvn()
--------wrapper()
----src()
--------main()
--------test()
----mvnw(6KB)
----pom.xml(2KB)
----mvnw.cmd(5KB)
----Readme.md(985B)

网友评论