Skip to content

Commit ffef4da

Browse files
committed
fix: broken screenshot + add docker
1 parent aa61f9f commit ffef4da

File tree

18 files changed

+35
-95
lines changed

18 files changed

+35
-95
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ spring-angular-registration/mvnw
44
spring-angular-registration/mvnw.cmd
55
web-angular-registration/node_modules/
66

7+
.idea/
8+
**/target/
9+
**.log
10+
**.iml

README.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ API :
1616
- Spring Test
1717

1818
# Steps to run the project
19-
- Create DB and Restore file **db.sql**
19+
- Create DB and Restore file **schema.sql**
2020
- Run Backend **spring-angular-registration** and make sure there is no Error
2121
- Run Frontend **web-angular-registration**
2222

@@ -47,33 +47,28 @@ API :
4747
- Open browser and go to http://localhost:4200
4848
- port 4200 is default, you can change with command --port to change the port
4949

50-
<img src="https://raw.githubusercontent.com/KNIGHTMASTER/Resources/master/SAR/sar-1.png" alt="springboot-angular-registration"/>
51-
52-
<img src="https://raw.githubusercontent.com/KNIGHTMASTER/Resources/master/SAR/sar-2.png" alt="springboot-angular-registration"/>
53-
54-
<img src="https://raw.githubusercontent.com/KNIGHTMASTER/Resources/master/SAR/sar-3.png" alt="springboot-angular-registration"/>
55-
56-
<img src="https://raw.githubusercontent.com/KNIGHTMASTER/Resources/master/SAR/sar-4.png" alt="springboot-angular-registration"/>
57-
58-
<img src="https://raw.githubusercontent.com/KNIGHTMASTER/Resources/master/SAR/sar-5.png" alt="springboot-angular-registration"/>
59-
60-
<img src="https://raw.githubusercontent.com/KNIGHTMASTER/Resources/master/SAR/sar-6.png" alt="springboot-angular-registration"/>
50+
![sar-1.png](sar-1.png)
51+
![sar-2.png](sar-2.png)
52+
![sar-3.png](sar-3.png)
53+
![sar-4.png](sar-4.png)
54+
![sar-5.png](sar-5.png)
55+
![sar-6.png](sar-6.png)
6156

6257
# How To Run Unit Testing : web-angular-registration (frontend)
6358
- Run :
6459
```sh
6560
$ ng test
6661
```
6762

68-
<img src="https://raw.githubusercontent.com/KNIGHTMASTER/Resources/master/SAR/sar-test-1.png" alt="springboot-angular-registration"/>
69-
70-
<img src="https://raw.githubusercontent.com/KNIGHTMASTER/Resources/master/SAR/sar-test-2.png" alt="springboot-angular-registration"/>
63+
![sar-test-1.png](sar-test-1.png)
64+
![sar-test-2.png](sar-test-2.png)
7165

7266
# How To Run Unit Testing : spring-angular-registration (backend)
7367
- Run :
7468
```sh
7569
$ mvn clean package
7670
```
77-
<img src="https://raw.githubusercontent.com/KNIGHTMASTER/Resources/master/SAR/sar-test-3.png" alt="springboot-angular-registration"/>
71+
72+
![sar-test-3.png](sar-test-3.png)
7873

7974
#### *Username for Login is Email and Password is FirstName

docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: "3.8"
2+
services:
3+
db:
4+
image: postgres:9-alpine
5+
container_name: sar_db
6+
ports:
7+
- "5432:5432"
8+
environment:
9+
- POSTGRES_USERNAME=postgres
10+
- POSTGRES_PASSWORD=pgadmin
11+
- POSTGRES_DB=sar_db

sar-1.png

47.9 KB
Loading

sar-2.png

56.2 KB
Loading

sar-3.png

52.2 KB
Loading

sar-4.png

60.2 KB
Loading

sar-5.png

62.8 KB
Loading

sar-6.png

49.8 KB
Loading

sar-test-1.png

51 KB
Loading

0 commit comments

Comments
 (0)