Library to use reitit with clojurescript with Express. This makes it possibble to use reitit easily for Google Cloud functions or Google Cloud run with minimal differences.
This project uses a few javascript dependencies:
npm dependency | Usage | required |
---|---|---|
express | The nodejs webserver | * |
cookie-parser | This is the middleware that parses incoming cookies | * |
negotiator | This is used when you use the negotiation middleware, this parses accept headers | only when using the content-negotation middleware |
You can quickly add them as follows:
yarn add --exact express negotiator cookie-parser
There are currently two code examples on how to get started with this library:
- Getting started with cloud run
- Getting started with a firebase function