An app to generate small talk for those who hate small talk. Helpful for those who are socially awkward, or just want to avoid it. Could also be helpful to workers who need to communicate with coworkers who are geographically located in different areas.
Other channel ideas are welcome! Feel free to submit an issue with your idea.
smalltalk-weather
with a plaintext secret value that is your OpenWeather API key -> Save the secret ARN (will need this for step 4).env.example
to .env
and fill in the valuesnpm install
export AWS_PROFILE=<your_aws_profile>
--profile
insteadnpm run deploy
SmallTalkStack.SmallTalkStackapiEndpoint
/small-talk
to the endSmallTalkStack.CLIApiKeyId
aws apigateway get-api-key --api-key your-api-id --include-value
curl --location 'your-url' \ --header 'x-api-key: your-api-key' \ --header 'Content-Type: application/json' \ --data '{ "location": "Portland, Oregon, US" } '
Note: Units of measurement returned are imperial (e.g. Fahrenheit, miles, etc.). Location should be in format {city name},{state code},{country code}
. See OpenWeather docs for more info.
If you want to delete the resources created by this project, run npm run destroy
.
TODO https://github.com/deeheber/small-talk/issues/5
npm run test
.
See CONTRIBUTING.md for more info on our guidelines.