This is repository contains a Vue SPA that uses this API.
Here are all of the repositories in the Institute system
- mentorHub Developer Edition
- NodeJS and NPM - if you want to build locally
To run the full UI and backing services locally
mh up partner
npm install
npm run serve
This will start API and backing service containers to support testing.
npm run lint
npm run build
npm run container
This will build the UI container and launch the UI service. After launched you can the access Paths below
After running the appropiate command, you can access the API following routes
- Admin Screen http://localhost:8085/admin
- Default http://localhost:8085/ routes to List Partners
You can also access the List, Add and Edit views directly at
- List Partners http://localhost:8085/partners
- Add Partner http://localhost:8085/partner
- Edit Partner http://localhost:8085/partner/aaaa00000000000000000021
NOTE: After you add a partner you are automatically routed to the Edit Partner page for that partner. You can change the ID in the Edit Partner URI to edit other partners.
The /admin
route will return a list of configuration values.
The Dockerfile uses a 2-stage build, and supports multi-architecture builds. See the Dockerfile for details about building in the local architecture for testing.