- nodejs@8.9.0
- Wildfly@10.2.0
cd
(change directory) tofrontend
directory then execute the command:
npm install
- Then execute the command:
npm start
- Frontend Application will be available at:
localhost:4200
.
-
Download and Deploy PostgresSQL JDBC driver (Since we use PostgreSQL as our DBMS). The driver can be download here.
-
Add new Datasource:
- In Wildfly Management UI, navigate accordingly:
Configuration > Subsystem > Datasources > Non-XA > Add
. - Choose PostgreSQL Datasource.
- Step 1/3: Change
Name
field to:itcenterds
,JNDI Name
field to:java:/itcenterds
. - Step 2/3: Navigate to
Detected Driver
tab, choose postgresql driver which we deployed in first step. - Step 3/3: Change
Connection URL
to:jdbc:postgresql://localhost:5432/[Your Database For Application]
, then fillusername
andpassword
field.
- In Wildfly Management UI, navigate accordingly:
-
Deploy Backend service:
-
cd
(change directory) tobackend
directory then execute the command:
mvn clean install
- Compiled code will be available at
backend/target
. - After building backend service with Maven, access Wildfly Management UI, deploy
.war
file located in the pathbackend/target/itcenter.war
. - Backend service will be available at:
localhost:8080/itcenter/api/<resource>
.