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
- Host: GitHub
- URL: https://github.com/seryiza/cat-facts-proxy
- Owner: Seryiza
- License: mit
- Created: 2021-07-08T12:28:29.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-08T13:28:38.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T03:31:08.667Z (3 months ago)
- Topics: cors-proxy, expressjs
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```