This project 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
- Mongo Compass - if you want a way to look into the database
To run the full UI and backing services locally
mh up person
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:8083/admin
- Default http://localhost:8083/ routes to List People
You can also access the List, Add and Edit views directly at
- List People http://localhost:8083/people
- Add Person http://localhost:8083/person
- Edit Person http://localhost:8083/person/aaaa00000000000000000021
NOTE: After you add a person you are automatically routed to the Edit Person page for that person. You can change the ID in the Edit Person URI to edit other people.
The /admin
route will return a list of configuration values.
The Dockerfile uses a 2-stage build, and supports multi-architecture builds. See docker-build.sh for details about building in the local architecture for testing.