Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamataryo/ouchimessenger
https://github.com/kamataryo/ouchimessenger
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kamataryo/ouchimessenger
- Owner: kamataryo
- Created: 2018-07-24T12:24:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-26T06:38:19.000Z (about 6 years ago)
- Last Synced: 2024-11-18T02:12:24.200Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.61 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OUCHI MESSENGER
[![Build Status](https://travis-ci.org/kamataryo/ouchiMessenger.svg?branch=master)](https://travis-ci.org/kamataryo/ouchiMessenger)
Family task management application.
![Task List](./raw/screenshots/01_task-list.png)
![Add task](./raw/screenshots/02_add-task.png)
## Architecture
```
[iOS Application] <-(1)-> [Amazon DynamoDB] <-(2)- [AWS Lambda]
^
|
(3)
|
v
[Amazon SNS]
```(1): Database access to save tasks.
(2): Batch process to recycle daily tasks.
(3): iOS App triggers push notification and receives.## Build and Deploy
### IAM
- create User with policy about SNS and DynamoDB Access describing below.
### SNS setting
- create Platform Application
- Note ARN### Database setting
1. Set up 1 DynamoDB table with key named `taskId`
2. Note the table name, the access key id and the secret access key.### batch setting
The batch reset task done/undone state.
1. Create a lambda role with DynamoDB access.
2. Create a lambda function with `/src/api/lambda.js` with environmental variables, `TABLE_NAME` and `REGION`.
3. Set CloudWatch Events cron trigger for batch.### app build (iOS only so far)
1. `$ cp .env.sample.js .env.js`
2. Edit the AWS credential with information above.
3. Build and deploy from xcode.