Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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