If you have not before - install the Angular CLI globally on your machine with npm install -g @angular/cli
Both the buyer and the seller application rely on a shared SDK that lives in this codebase under src/UI/SDK. This SDK is used to interact with the middleware API. You'll need to install dependencies and build that project first.
- Navigate to the
SDK
directory in src/UI/SDK - Install dependencies with
npm install
- Build the project with
npm run build
- Navigate to the
Buyer
directory in src/UI/Buyer - Install dependencies with
npm install
- Fill out the test app configuration
- Run
npm run start
for a dev server. The app will automatically reload if you change any of the source files.
You can modify your local deployment by changing values in the local.environment.ts file to target a different buyer or use the locally hosted middleware API
If your middleware API isn't yet hosted you will need to update the local.environment.ts to target the locally hosted middleware API. Set useLocalMiddleware
to true and ensure localMiddlewareURL
is the path your server is listening on.