项目作者: vladigeras
项目描述 :
System for examination commission
高级语言: Java
项目地址: git://github.com/vladigeras/gak.git
Description
System for examination commission
Installation:
- Install Java 10.
Install PostgreSQL 10 and bind to port 5432
Create user in Postgres:
CREATE USER gak WITH PASSWORD 'gak';
Create database for new user:
CREATE DATABASE gak WITH OWNER gak ENCODING 'UTF8';
Tables will be generated
Execute a command for root module:
$ mvn clean install
Start project
- Execute a command for backend module to start as Maven project:
$ mvn spring-boot:run
- Application will be available on http://localhost:8080
- In this case you must rebuild project after frontend changing to show results,
$ mvn clean install
Run frontend separately with code autoupdate
- Execute a command for backend module to start backend part:
$ mvn spring-boot:run
- Execute a command for frontend module to start frontend part:
$ npm start
- Application will be available on http://localhost:8080
- Frontend part will be available on http://localhost:4200
- In this case after frontend changing result will be showed.
Read this title to code autoupdate in backend part.
Library spring-boot-devtools as a maven dependency will help.