https://github.com/vepo/java-angular-postgres
This is a Hello World for a full Web Application. It uses Java and Angular
https://github.com/vepo/java-angular-postgres
angular jakarta-ee java-8 postgresql
Last synced: 30 days ago
JSON representation
This is a Hello World for a full Web Application. It uses Java and Angular
- Host: GitHub
- URL: https://github.com/vepo/java-angular-postgres
- Owner: vepo
- License: mpl-2.0
- Created: 2020-09-25T00:31:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-25T00:48:00.000Z (over 5 years ago)
- Last Synced: 2025-12-05T19:24:14.243Z (6 months ago)
- Topics: angular, jakarta-ee, java-8, postgresql
- Language: Java
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Java, Angular & Postgres
This is a starter project. It has alread configured the login and an TODO page.
## Dependencies
This project uses:
* Jakarta EE
* Thorntail
* Angular
### PostgreSQL
Start the database:
```bash
docker run --rm --name postgres-db -e POSTGRES_PASSWORD=password -e POSTGRES_DB=jap -p 5432:5432 -d postgres:13-alpine
```
Update the database schema:
```bash
mvn flyway:migrate
```
## Execute
```bash
mvn clean thorntail:run
```
## Creating dummy Users
```
insert into jap_users (admin, email, first_name, last_name, hashed_password, username)
select
CAST((num % 2) as BOOLEAN) as admin,
concat('user-', num, '@jap.com') as email,
concat('User-', num) as first_name,
concat('family') as last_name,
'zzXGO/taDaQXGXRcT85fxQ==' as hashed_password,
concat('user-', num) as username
from
generate_series(1, 60) num;
```