Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-21T00:04:34.000Z (about 5 years ago)
- Last Synced: 2024-08-01T02:29:35.223Z (3 months ago)
- Topics: aws-lambda, bot, cat, dog, pets, serverless, serverless-framework
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 21
- Watchers: 1
- Forks: 2
- 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)
[![Made with Serverless](https://img.shields.io/badge/serverless-⚡-yellow.svg?style=flat-square)](https://serverless.io)
[![Norfolk JS Inspired](https://img.shields.io/badge/NorfolkJS-inspired-f3df49.svg?style=flat-square)](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