Url Manager is used to fetch and relay content. It can use http server or cloud function
Make sure you have these installed in your computer for development
- Node.js
- Yarn (or npm)
- run
yarn install
to install dependencies - copy .env.example to .env and set your local environment there
- run
yarn start
, and depending on your .env it will serve on http or cloudfunction, default will be served on localhost:7000
Access the server {HOSt}:{PORT}/url?u={SOURCE_URL}
Host and port is the server, default is localhost:7000 Url is the source of content
For serving the app, update the .env with SERVER=http
or SERVER=lambda
Running yarn build && yarn bundle
will generate build.zip file containing .js file with all the necessary node_modules
MIT