Configuru
A small remote configuration library written for browser and node built to be isomorphic and declerative
Getting started
- Clone this project
git clone git@github.com:SchneiderOr/configuru.git
- Run
yarn install
ornpm install
to get the project's dependencies - Run
yarn mock-server
ornpm run mock-server
to get the project's mock db server up and runing - In another terminal, run node example/node.js to see an actual example
Scripts
yarn build
ornpm run build
- produces production version of your library for both node and web under thedist
folderyarn dev
ornpm run dev
- produces development version of your library and runs a watcher
Examples
- To run the browser example:
- run the API server using yarn mock-server using
yarn mock-server
ornpm run mock-server
- visit http://localhost:3000 and open up the browser console
- run the API server using yarn mock-server using
- To run the node example:
- run the API server using yarn mock-server using
yarn mock-server
ornpm run mock-server
- run node ./example/node
- run the API server using yarn mock-server using