Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

bcgov/MyGovBC-core-server

Repository files navigation

MyGovBC-core-server

A loopback API server app scaffolded with slc loopback.

Development

Registering Widget

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:

  1. Our API explorer
  2. Editing db.json by adding a new entry for service.

Server-only

git clone https://github.com/bcgov/MyGovBC-core-server.git
cd MyGovBC-core-server
npm install
npm start

Full stack

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.

License

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published