Skip to content

Cloudflare Worker to obtain the conversion of the dollar to UYU of the BCU 💸

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

nsantos16/bcu-cloudflare-worker

Repository files navigation

BCU Exchange Cloudflare worker 💸

Example

curl --location --request POST 'https://bcu-exchange.nico-santos.workers.dev/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "date": "31/08/21"
}'

👩 💻 Developing

src/index.ts calls the request handler in src/handler.ts, and will return the request method for the given request.

🧪 Testing

This template comes with jest tests which simply test that the request handler can handle each request method. npm test will run your tests.

✏️ Formatting

This template uses prettier to format the project. To invoke, run npm run format.

👀 Previewing and Publishing

For information on how to preview and publish your worker, please see the Wrangler docs.

🤢 Issues

If you run into issues with this specific project, please feel free to file an issue here. If the problem is with Wrangler, please file an issue here.

⚠️ Caveats

The service-worker-mock used by the tests is not a perfect representation of the Cloudflare Workers runtime. It is a general approximation. We recommend that you test end to end with wrangler dev in addition to a staging environment to test things before deploying.

About

Cloudflare Worker to obtain the conversion of the dollar to UYU of the BCU 💸

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published