Comment by talmr

Comment by talmr

Long post, but I hope it helps someone out since it covers web,mobile, etc. MVP to me means being able to build something quick and iterate upon, so while it could be a throwaway project each time it still makes sense to have a preferred solution for each problem space.

I stick to tech I know best and also languages which offers a vast variety of available SDKs and dependencies to consume so I don't need to waste time re-inventing the wheel. I also try to plan for my requirements up front so I can best prepare. In this case, I am building an application that requires authentication, notifications, private + group chat, location awareness, and an admin sites for the CMS, partner portal, etc.

- For data storage, I use postgres for persistence, and redis for caching and other temp things. I'm not an expert at either of these, but I have used both extensively and have enough experience/interest to work through any issues that may come up.

- I use nodeJS + express to write backend services. Example: My web and mobile clients consume a REST service that interacts internally with a data layer service. Since the code is organized very simply and modular, it makes it easy for me to spin up new services that consume existing services, or makes it easy to extend. I have a real time service that could use the same data layer service if needed.

- I try to use SDKs that can solve my problem cheap + quick. This is where planning up front is also valuable because if you can identify which SDKs are available for the languages you are using, you will save lots of time and pain. For example, I'm using connectycube (free up to 10k users) for video + chat because they have flutter SDKs it takes literally 10 minutes to set up and be most of the way there. I use firebase for authentication (its free) on the clients, and for my REST service token verification. Firebase can also handle push notifications, so keep that in mind! I use mapbox for geocoding because it is cheaper than google maps.

- For infrastructure, I was using AWS but switched to DO managed postgres and droplets. I'm still using S3 and cloudfront.

The reason I did this is because I don't have much infrastructure experience and made a few misconfiguration mistakes on AWS that bit me. DO makes it dead simple for now so I can focus on just building my product and maybe some day I will be lucky enough to work with a team who knows AWS :)

- For web, I have the website (hosted using carrd, dead simple website builder. They have a cheap paid plan that lets me do things like add a contact us widget and add a google analytics), while the CMS and partner sites are being built using create-react-app. There is no consumer web app (mobile app only), so really those users will just see the site and go download the apps. Partners can access the partner portal to do things like adding their business listing and any promotions, etc.

- Mobile apps are built using flutter. I've dabbled with swift/swiftUI, kotlin, react-native, and flutter and today I prefer flutter for complex projects that I need on both iOS and android. Regardless of what path you choose, some tips I can offer when you're in the middle ground between a "this is more complicated than what's in the /examples folder" and "any top app that you use on a regular basis": • Spend a weekend going through the platform specific design guidelines. Open up your favorite top apps on iOS and android and use the same features on both. Notice the subtle differences. • Read the app store guidelines for both so you know what to expect. • Plan your application structure. What are the shared states, and how will you share data? Do you need to persist data on the device? What device permissions do you need to manage? What are the top level views? Do you need to make network calls? I used to never do this because I figured hey, its just a toy project!! But, as soon as that toy project turns into a passion pit, I need to make that new features can be added very fast instead of requiring a re-write. Just note the different moving pieces, and organize your code in a way that makes sense. • Nothing is perfect - flutter web is kinda meh and honestly I think its best anyway to just have separate mobile code, and web code.

Learned a ton over the pandemic, hoping to put all of this to good use and keep learning. All the best!

Replies talmr · 2021-03-12
Open on HN
Loading the discussion…

Domain filters

Stories from these domains are hidden from every list. Subdomains match too: blocking substack.com also hides danluu.substack.com. Type a domain, or paste a link to block its site, and press Enter.

New collection

Delete this collection?

About YAVCHN

YAVCHN is a reader for Hacker News and Lobsters, with articles and discussions in separate windows or Classic pages.

Created by Paul Parks and built with PUDL.

YAVCHN source code on GitHub

Privacy policy · Terms of use

Help

Keyboard

j / k
Move down and up the story list. The arrow keys scroll whatever has focus.
Enter
Read the marked story in the article reader.
[ / ]
Read the story above or below in the list, in the same article reader. Back returns to the story you came from.
p
Pin or unpin the marked story, which keeps it in Pinned.
n / N
Move to the next or previous top-level comment in the window in front.
c
Collapse or expand that comment.
f
Hide or show the story list.
Esc
Close a menu or this help.
Access key m
Go to the menu bar. Most browsers take it with Alt on Windows and Linux, and Safari with Control and Option.
?
Show this help.

Windows

Each story opens in a window holding its article above its discussion; drag the bar between them to share the room differently. A window can be moved by its title bar, resized from any edge, snapped to a half or a corner by dragging it there, maximised, or minimised to the bar at the foot of the page. Use Window > New reader window to open an empty reader, or Story > Open in new reader window to open another reader for the current article. Docked readers keep their articles when you select another story from the sidebar. Minimized readers can be restored and reused for their site. A window's Previous and Next buttons read up and down the list in the same window.

A link in a comment or an article to another Hacker News or Lobsters thread opens that thread in a window too. A link to a single HN comment opens the comment above its replies.

While a story's window is in front, the Story and Discussion menus in the menu bar hold its commands: pinning, Previous and Next story, sorting, collapsing every thread, jumping to the first new comment. Each window also remembers where you were in its article and discussion, so a reload, or Back to a story that Next took you past, finds your place again. Closing a window forgets it.

The whole arrangement lives in the address, so a bookmark or a shared link brings it back, and Back undoes the last change. Moving between Hacker News, Lobsters, their lists, Pinned and Find changes only the list, and leaves the windows open.

The list

The pin at the start of a row keeps the story in Pinned, and the cross at its end hides it. Pinned can be narrowed by words in the title, site or author, by source, and to the stories you haven't opened yet, and ordered by when you pinned them, by points or by comments; the filters are part of the address, so a filtered view can be bookmarked. Scroll past the end of the list to load more. Domain filters, in the View menu, hide every story from a site.

Collections are named lists of stories. Story > Add to collection files the story in front into one or more of them, and the Collections feed shows them all or one at a time; the menu that chooses collections also creates, renames, and deletes them. A note is your own text on a story. Choose Add note in a story's toolbar to write one; it saves as you type. Rows with a note carry the note mark, and the Notes feed lists every noted story and searches the text of your notes.

Browsing view

View > Windowed and View > Classic select the browsing view and save your default in this browser. Window view reuses a reader for each feed. Classic view opens stories and applets as pages. Open as a page is a one-off action that does not change your saved default. Use the Windowed selector to return an article to a window. Direct page links always open as pages.

Applets

The Applets menu in the menu bar holds three tools, each a window of its own. Replies to me takes your Hacker News user name and lists the replies to your last thirty comments and stories, checking again every three minutes while it is open, and marking what is new since you last marked them read. Look up a user opens a profile on Hacker News or Lobsters, with their submissions and recent comments, as a commenter's name in any discussion does; the bar at the top of a profile looks up someone else in the same window, and Back returns to the one before. Who is hiring? filters the posts of HN's monthly hiring threads by the words you type.

They read only what the sites publish to everyone, so none of them asks for a login, and your user name stays in this browser anonymously and is included in retained applet state when signed in.

Find

Find takes any link and lists every time it was submitted to Hacker News and Lobsters, so you can read each discussion of it.

About

YAVCHN never sees your Hacker News or Lobsters login. The discussion is fetched from each site's public API; to vote or reply, follow the link above the discussion, or the arrow beside a comment, to the source's own site. Without a YAVCHN account, your data stays in this browser. When signed in, pins, collections, notes, blocked domains, and retained reading state are stored with your account and synchronized across devices. Hidden stories and layout stay in this browser. The privacy policy has the details.

Open source: github.com/paulmooreparks/yavchn. Built with PUDL.