A loopback API server app scaffolded with slc loopback.
The Widget requires registration to have meta data about the widget so we can display it on the main page and dynamically route to it. Eventually we'll have a UI and easier setup but for now, you have to register it in one of two ways:
- Our API explorer
- Editing
db.jsonby adding a new entry for service.
git clone https://github.com/bcgov/MyGovBC-core-server.git
cd MyGovBC-core-server
npm install
npm start
Do the server-only setup, then follow MyGovBC-core-client readme to build dist (npm run build). If everything works, opening http://localhost:9000/ext/ in browser should reveal MyGovBC.
Copyright 2016 Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.