Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zazk/spring-module
Spring MVC, Java
https://github.com/zazk/spring-module
gradle java postgres spring spring-mvc
Last synced: about 1 month ago
JSON representation
Spring MVC, Java
- Host: GitHub
- URL: https://github.com/zazk/spring-module
- Owner: zazk
- License: mit
- Created: 2018-04-07T22:07:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-05T22:13:05.000Z (over 6 years ago)
- Last Synced: 2024-11-11T05:31:34.346Z (3 months ago)
- Topics: gradle, java, postgres, spring, spring-mvc
- Language: Java
- Size: 8.04 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spring-module
Spring MVC, Java### Requirements
Java 8 ( tested with `java version "1.8.0_172` )### Install dependences
`gradle`### Running Spring Boot
`gradle bootRun`### Auto Reloading (Another Terminal)
`gradle -t classes`### Windows Environment
Install Scoop
`iex (new-object net.webclient).downloadstring('https://get.scoop.sh')`Install Gradle
`scoop install gradle`Install Java
`scoop install oraclejdk-lts`Install PostgreSQL
`scoop install postgresql`### Setup Postgre SQL
Create User Role PDA with no password
`>psql -U postgres -c "CREATE ROLE pda LOGIN SUPERUSER INHERIT CREATEDB CREATEROLE;" postgres`Create Database with Role PDA
`>psql -U postgres -c "CREATE DATABASE pda OWNER pda;`Login to SQL
`>psql -U pda;`Run the query from the file:
`ROOT_PROJECT/src/main/resources/db/migration/V1__Create_post_table.sql`