Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 702 Bytes

README.md

File metadata and controls

26 lines (13 loc) · 702 Bytes

codecov

GeoCRUD-front

Install

$ npm ci

Configuration

For development purpose, you can copy the template file :

$ cp public/env.dist.json public/env.json

and edit it to point to the API.

Otherwise you can set some env variables like API_HOST which will tell to the app where the backend is located.

The app will also try to find a from querystring parameters with the host of the referrer. It will try to fetch a ${host}/env.json file. If no from param si passed, it will look on its own host.

Usage

$ npm start