- Install Node: https://nodejs.org/en/download
- Install Angular: https://angular.io/guide/setup-local
- Clone the repository: https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository
- Change the credentials
user
,password
, andDB
innodejs_backend/app/config/db.config.js
via vscode: https://code.visualstudio.com/ - Open a terminal in VS code and run cd
nodejs_backend
to enter the backend folder npm install
to install the packages- If you use a Database on the ugmarket.ugent.be server, connect with VPN to vpn_ugent using Cisco AnyConnect: https://helpdesk.ugent.be/vpn/asa.php
node app.js
to start the backend server, it will listen for HTTP requests on port 3000 by default.
- open a second terminal and run cd
cd angular_frontend
to enter the frondend folder npm install
to install the packagesng serve
to start the frondend server. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files.- If you offer an offline service, get an access code for mapbox: https://www.mapbox.com/ and fill it in the environment.ts file.
- Create a new platform company by altering the companyName in the
angular_frontend/src/app/services/company.service.ts
- Navigate to
http://localhost:4200/taxonomy
to select the relevant business model properties - Navigate to
http://localhost:4200/categories
to add categories and options