Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metrue/YoYo
A dead simple comment engine built on top of AWS lambda and React, alternative comment service to Disqus.
https://github.com/metrue/YoYo
api-gateway aws-lambda blog-comment comment-service disqus draft-js dynamodb react serverless website
Last synced: about 2 months ago
JSON representation
A dead simple comment engine built on top of AWS lambda and React, alternative comment service to Disqus.
- Host: GitHub
- URL: https://github.com/metrue/YoYo
- Owner: metrue
- Created: 2017-02-25T10:48:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T04:51:11.000Z (about 2 years ago)
- Last Synced: 2024-11-25T02:44:25.988Z (about 2 months ago)
- Topics: api-gateway, aws-lambda, blog-comment, comment-service, disqus, draft-js, dynamodb, react, serverless, website
- Language: JavaScript
- Homepage: https://minghe.me
- Size: 5.87 MB
- Stars: 210
- Watchers: 9
- Forks: 14
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
A dead simple comment engine alternative to Disqus.
Features:
* [x] Markdown supported
* [x] Mention to reply
* [x] Image in comment---
### Usage
Place the following code where you'd like YoYo to load:
```
```
### Deploy On You Own
YoYo is build on top of AWS, so you have to have a [AWS Account](https://console.aws.amazon.com/console/home?region=us-east-1) and setup your [AWS Credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html) ready.
[YoYo APIs](https://github.com/metrue/YoYo/tree/master/api) is runing on [AWS Lambda](https://console.aws.amazon.com/lambda/home?region=us-east-1), [AWS API Gateway](https://console.aws.amazon.com/apigateway/home?region=us-east-1), and [AWS Dynamodb](https://console.aws.amazon.com/dynamodb/home?region=us-east-1).
[YoYo client](https://github.com/metrue/YoYo/tree/master/client) is build on top React, then deployed on [AWS S3](https://s3.console.aws.amazon.com/s3/home?region=us-east-1) with [AWS CloudFront](https://console.aws.amazon.com/cloudfront/home?region=us-east-1).
* Deploy API
```
$ cd api
$ npm install
$ npm run deploy:production # or npm run deploy:staging, npm run deploy:testing
```Run test on API:
```
$ [email protected] \
SENDGRID_API_KEY= \
SITE_OWNER_EMAIL= \
npm test
```* Build Client
```
# cd client
# npm install
# npm run build-prod # or 'npm run develop' to do development on local
```### LICENSE
MIT