Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deysuman/Todoist-sync-node-api
React js oauth and other things
https://github.com/deysuman/Todoist-sync-node-api
nodejs react react-native redux
Last synced: about 1 month ago
JSON representation
React js oauth and other things
- Host: GitHub
- URL: https://github.com/deysuman/Todoist-sync-node-api
- Owner: deysuman
- License: mit
- Created: 2018-01-13T02:52:48.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-13T03:06:05.000Z (almost 7 years ago)
- Last Synced: 2024-11-12T07:12:32.604Z (about 2 months ago)
- Topics: nodejs, react, react-native, redux
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Todoist Sync Node API
[![Build Status](https://travis-ci.org/deysuman/Todoist-sync-node-api.svg?branch=master)](https://travis-ci.org/deysuman/Todoist-sync-node-api)A wrapper around the [Todoist Sync API](https://developer.todoist.com/?shell#api-overview) written in Javascript.
When a method on a resource is called (e.g. projects, items) a command is created and added to a queue. To send these commands to the Todist Sync API the commit method must be called.
Each method called on a resource returns the local temp_id for that command. This allows multiple resources to be created in a single command. This is especially useful when you wish to create resources which depend on each other in a single request.
Currently supported features:
- [x] Projects
- [x] Items
- [x] OAuthUpcoming features (The todoist user type required):
- [ ] User - Free
- [ ] Sharing - Free
- [ ] Labels - Premium
- [ ] Notes - Premium
- [ ] Filters - Premium
- [ ] Reminders - Premium# Setup
Instead of installing any dependencies locally we'll use docker instead.To build the image run `docker build -t todoist .`
Then create the container and create a volume so that changes on the host machine are also updated in docker.
`docker run -td -P --name todoist-container -v :/todoist todoist`Then to run bash inside the container run `docker exec -it todoist-container bash`.
Change directory into the `todoist` folder and run `npm i` to install the node modules.