An open API service indexing awesome lists of open source software.

https://github.com/seryiza/cat-facts-proxy

Minimalistic Express proxy for cat facts APIs to avoid CORS
https://github.com/seryiza/cat-facts-proxy

cors-proxy expressjs

Last synced: about 1 month ago
JSON representation

Minimalistic Express proxy for cat facts APIs to avoid CORS

Awesome Lists containing this project

README

        

# Cat Facts Proxy
Minimalistic Express proxy for cat facts APIs to avoid CORS

## API
### GET /random-fact
Output:

```json
{
"fact": "The first cat in space was a French cat named Felicette (a.k.a. “Astrocat”) In 1963, France blasted the cat into outer space. Electrodes implanted in her brains sent neurological signals back to Earth. She survived the trip."
}
```

## How to run with Docker
```bash
docker-compose run app npm install
docker-compose up app # Hosted on http://localhost:8000 by default
```