Software evolution project group 4
- Install node.js
- Install `npm
- Install PostgreSQL
- run
npm install -g @angular/cli
- cd to
addchain-app
- run
npm install
- cd to
addchain-server
- run
npm install
- create the file
local.config.js
inaddchain-server/
- read instructions in
config.js
aboutlocal.config.js
- create the database from
addchain-server/database/tables.sql
- optional. Fill the database with data from
addchain-server/database/testdata.sql
Server: in addchain-server/
run node app.js
Client: in addchain-app run/
run ng serve
- Go to addchain\addchain-app\src\app\components and use "ng generate component [name of component]"
- Go to addchain\addchain-app\src\app\services and use "ng generate service [name of service]"
- Go to addchain\addchain-app\src\app
- Open the app.module.ts file
- Add the service to the providers
1.Go to addchain\addchain-app\src\app\models and use "ng generate class [name]"