https://github.com/atomaka/punaday-api
https://puns.atomaka.com
https://github.com/atomaka/punaday-api
Last synced: about 1 year ago
JSON representation
https://puns.atomaka.com
- Host: GitHub
- URL: https://github.com/atomaka/punaday-api
- Owner: atomaka
- Created: 2016-02-29T01:22:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-23T22:44:37.000Z (over 9 years ago)
- Last Synced: 2025-02-12T10:54:41.163Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# punaday-api
JSON version of http://www.punoftheday.com/
## Description
Server that takes Pun of the Day puns and converts it into JSON. Currently
living as a serverless application in AWS Lamda. It is frontended by AWS
Cloudfront because AWS Cloudformation does not yet have resources for AWS API
Gateway domains. This script will also create a DNS record to point at the
AWS Cloudfront Distribution.
## Usage
* `cp .env.sample .env.production`
* `AWS_CERTIFICATE`: arn to aws certificate that you generated for a domain
* `DNS_ZONE`: Route 53 zone name (ex. `example.com.`)
* `DOMAIN`: Route 53 domain (ex. `puns.example.com`)
* Set AWS credentials via environment or credential file
* `make`