Go ahead and open up a terminal or command prompt window, and run the following command to get the serverless app installed:Įnter fullscreen mode Exit fullscreen mode We'll be loosely following this tutorial to create our serverless AWS API. Unless you're going to be using this API every minute, you shouldn't incur any direct costs.Įverything we need to do in order to set up these three services is going to be handled through the command line using the serverless app. ![]() DynamoDB for being the NoSQL database storing our todo itemsĪll of these services have generous free usage tiers that don't expire.API Gateway for creating our endpoints and connecting them to our Lambda instances.Lambda for processing incoming data from our API endpoints and sending it to/getting it from our database.This is what will end up powering our actual API, using the following services: Here's how I did it, and how you can too.įirst thing's first, if you haven't already, sign up for an Amazon AWS account. Lo and behold, they did! So my plan started coming together. But then I remembered IFTTT exists, and decided to see if they happened to have a trigger for tasks from TickTick. I thought I'd just go the brute force method and use something like Puppeteer to sign in to the app and scrape out any data I could. So, I started digging around trying to find my own way. I get it though, pushing new features to production takes time, but that was time that I didn't want to wait. But as of the writing of this article, they do not have one available to the public. It seems like it's an item that has been requested a few times, and currently seems to be an item that they're working on. I had been thinking about moving away from the last app that I used, and the fact that they have a built-in Pomodoro timer solidified the switch for me and I haven't looked back. ![]() On the program's startup, I was calling an API to grab my to-do list and store the items in an array, then cycling through each to display on my screen.Ī problem came up when after the New Year I switched services to TickTick. Over the past couple of months I've been experimenting with a little hardware project, the goal being to display a current to-do item I'm focusing on through an e-ink screen using a Raspberry Pi. It was built for a very simple purpose of mine, but depending on your use case, it could be perfect for you as well. ![]() The free tiers of both of these services is all that's required to get your personal API running, so this doesn't cost a single cent.ĭisclaimer: This is not intended to replace a full-featured API and only works for your own TickTick account. However, it is required that you have accounts for both, and recommended that you've at least played around with both of them a little bit. This article doesn't expect you to have any in-depth familiarity with AWS or IFTTT.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |