https://github.com/lynnaloo/adoptable-pet-bot
:feet: :cat: :dog: Tweets adoptable pets using Serverless and AWS Lambda
https://github.com/lynnaloo/adoptable-pet-bot
aws-lambda bot cat dog pets serverless serverless-framework
Last synced: 11 days ago
JSON representation
:feet: :cat: :dog: Tweets adoptable pets using Serverless and AWS Lambda
- Host: GitHub
- URL: https://github.com/lynnaloo/adoptable-pet-bot
- Owner: lynnaloo
- License: mit
- Created: 2017-01-03T07:09:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T00:04:34.000Z (over 5 years ago)
- Last Synced: 2025-03-26T01:06:31.443Z (28 days ago)
- Topics: aws-lambda, bot, cat, dog, pets, serverless, serverless-framework
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 21
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Adoptable Pet Bot
> :feet: :cat: :dog:
> Tweets adoptable pets (from Adopt-a-Pet API) using Serverless framework and AWS Lambda.
> Inspired by work on [Cute Pets Norfolk](https://github.com/Code4HR/CutiesInHamptonRoads)
[](https://serverless.io)
[](https://norfolkjs.org)## Install
With [node 4.3](https://nodejs.org/) installed, install the Serverless Architecture:
```
$ npm i -g serverless
```Clone this repository
```
$ git clone [email protected]:lynnaloo/adoptable-pet-bot.git
```Install dependencies
```
$ npm i
```## Setup and Testing
Setup your Account Provider and Credentials
* [AWS Lambda](https://serverless.com/framework/docs/providers/aws/setup)
* [AWS account credentials](https://serverless.com/framework/docs/providers/aws/guide/credentials)Run Unit Tests
```
npm test
```Test Lambda Function locally
```
serverless invoke local -l -f tweetPet
```## Deployment
Deploy Lambda Functions
```
$ sls deploy -v
```## See Also
* [Adopt-a-Pet API](https://github.com/lynnaloo/adopt-a-pet)
* [Serverless Framwork](http://www.serverless.com)
* [Cute Pets Norfolk](https://github.com/Code4HR/CutiesInHamptonRoads)## License
MIT