Home / Companies / Upstash / Blog / Post Details
Content Deep Dive

Fullstack Serverless app with Flutter, Serverless Framework and Upstash(REDIS) - PART 2

Blog post from Upstash

Post Details
Company
Date Published
Author
Rosius Ndimofor
Word Count
2,073
Language
English
Hacker News Points
-
Summary

In the second part of a tutorial series, the process of building a mobile application using Flutter is explored to consume REST API endpoints, previously created using Upstash, Serverless Framework, and Redis. The tutorial guides users through setting up a Flutter project, integrating essential dependencies, and developing features such as user creation, post creation, and listing all posts. The application utilizes the `http` library for HTTP calls, `shared_preferences` for storing user details, and `timeago` for converting timestamps into a human-readable format. The createUserProfile and createPost methods are detailed, including handling responses and saving data using shared preferences. Additionally, it discusses rendering posts using FutureBuilder for asynchronous data handling to avoid jank during JSON parsing. The article concludes with encouragement to share and adapt the tutorial while providing references for further exploration.