The Flybase Blog is the official online publication written by the
founders and developers of Flybase about their real-time app platform,
related technologies, building startups, and whatever else may fit their fancy — like robots.
Flybase and Twilio work great together, we've posted several posts before about using these two services in one place, but what about if you want to go serverless?
StdLib.com is excellent for that. In their own words, StdLib is essentially a package manager for APIs that’s built upon new “serverless” architecture, meaning you never have to worry about managing servers or allocating resources for scale.
All you have to do is write a function or two (or three), deploy, and you’re done, and this is perfect for quickly building services with Flybase.
We've covered building a Live Blogging tool before, so I wanted to use that tool here and show how to make it work inside StdLib.
To start, you need an account with our three services:
Where <username> is the username you are logged into StdLib with.
You will now have the following structure:
Let's give this structure some code and make it work for us.
Open the file called env.json in the root of the project, it was created automatically for you, and copy the following:
Populate these variables with your Twilio and Flybase information.
Now, open functions/__main__.js and copy the following code:
This will set up our index, which will output your live blog posts.
Next, open functions/sms/__main__.js and copy the following:
This is our webhook to receive text messages. It will take the text message and any photos from Twilio and store it in your Flybase app, it will then send a reply to your phone to tell you the message was received.
Finally, we need to create our pages/index.ejs file:
This template file will be read by our index and used to display any useful information.
To put this app online, all we have to do is type:
lib up dev
This will upload your app and make it available at the following url:
We've been extremely busy getting a few new features ready to roll out and I wanted to mention them here:
This is something that was mostly internal until now, but we're about to push our configuration manager out to all users, this will give you a new API that you can use for setting variables and retrieving them. With a simple API call, you can retrieve settings for your apps based on environment.
This will work on all libraries, as well as via our REST API, and all configuration settings are stored under encryption, giving you a nice secure place to store configuration variables that you don't want to store in your code.
In addition to storing data, users that have apps on paid accounts will soon be able to upload files directly to their Flybase apps and download or retrieve them at any time.
This can be used for storing images, js files, css files, html files, text files, you name it. You can even use it for hosting static websites. We're excited about this one, and have worked hard to make it ready to fit all your needs.
3. GraphQL API
Our GraphQL Api is finally ready for public consumption after making sure all was nice and beautiful so that will be out over the next couple weeks and will give you a whole new way to handle your data.
4. Scheduled Backups to S3
We're also going to be adding the ability to set scheduled backups of your data yourself to your own S3 buckets.
We're big on backups, we backup everything all day using our own custom system but since we know you want to watch your data yourself, we're going to be adding this feature so you can enter your S3 info and schedule when you want backups to happen, or even just push a button and do it yourself.
5. New Dashboard
Yes, it's that time again, we've got a new dashboard ready to go, and are just finishing up a few tweaks. This will integrate nicely with all the features coming the four mentioned above, as well as a few others we're keeping as a surprise.
At Flybase, we're always dedicated to providing a good experience, both in terms of what we build, and also in terms of support so if you have any questions at all in regards to what's above, feel free to reach out to us.
Maslow had it wrong. To get it right, we have to move social needs to the bottom of his pyramid.
-Matthew Lieberman (Professor of Social Cognitive Neuroscience at UCLA and author of the book Social)
Babies would die without their caregivers at birth. Study after study show the pain and ill we go through when we are isolated from others like us. As humans, we are wired to connect to one another.
However, instead of connecting, we seem to be heading the opposite direction. On the streets and in restaurants people are looking at their phones instead of the person right next to them.
Businesses strive to make everything quicker, faster, and automated. Sending automated welcome emails with generic information to everyone who signs up. Introducing artificial intelligence to weed through support inquiries instead of having someone read and respond to your query.
I read this two days ago, and saved it to drafts to share and comment on.
Here at Flybase, we don't automate support, and we don't use artificial intelligence for support (we do for other things, just not for support) either. Everyone here does their time answering support questions and responding to emails.
Relationships are something we've always strived to build here at Flybase, we help our users with any questions they have, and even jump in and lend assistance on building their apps when they're stuck.
In fact, a good chunk of our business comes from dev work with clients, as they have an idea for an MVP using Flybase and come to us to build it, or to train their own dev team on utilizing Flybase to the best approach.
AngelList has launched Intros for Canada to give more startups access to seed-stage funding through the network.
Intros will work like the first AngelList product launched in 2010, where companies could apply to be introduced to a curated list of angels.
“The Canadian market feels like the Valley 15 years ago. It is on the cusp of creating world-beating companies in AI, blockchain, and other technology fields,” said Naval Rakivant, co-founder of AngelList.
“Angel investing is one of the best ways for me to recycle knowledge and give back to the ecosystem.”
Interested companies must submit an application by August 30. After a 10-day application review, selected companies will be invited to a video interview with AngelList. If they pass the interview, they’ll be introduced to participating angels for a discussion on terms and investment.