https://github.com/drag13/vacation-cors-api
https://github.com/drag13/vacation-cors-api
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/drag13/vacation-cors-api
- Owner: Drag13
- License: mit
- Created: 2021-06-09T15:30:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T18:32:38.000Z (about 5 years ago)
- Last Synced: 2025-02-13T01:54:04.738Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vacation Cors Api
Proxy for the vacation https://date.nager.at to fix CORS issue
## Local setup
- Install: `npm ci`
- Start `npm run start:dev`
- Use `fetch('http://localhost:8080/https://date.nager.at/api/v2/LongWeekend/2021/UA');` from the client hosted at **http://localhost:8887** or update script to support other localhost