Day Zero
So you've got an amazing idea for an app and are motivated to get started. Well, aren't you lucky?! π But you're not sure how to get started - don't worry I'm here for you as a certified geek, seven days a week, typed class syntax, make that compile time weak.
To kick things off, weβll start with basic components and build upon them. We make a few assumptions - if these don't apply to you, then the following might be useless beyond banter (but hey, that can be fun too π).
- You want to make some app (mobile, web, desktop)
- You want to share data between different users of the app
See? Not too bad for assumptions. We don't want to over engineer a solution. Also if your app idea changes - PIVOT! - you want to be able to reuse as much as possible for your next idea.
So what are we going to make? Something simple. Users! There is an argument for not calling them users since only tech and drug companies call their customers users. So if you want to call them people thats fine. Since we want to share data between users, we'll need some central place to store all this data. So we're going to use a database and a server application. The goals for this are going to be the following:
- Register new users
- Login existing users
- Users can get their own data
- Users can update their own data
- Users can search by username
- Users can make lists of users
- Users can edit these lists of users
We'll store some basic information for each user:
- Username
- Password
You can think of the lists as whatever makes sense in your app, they can be followers, friends, teams, or whatever your specific app needs.
As I go through the code examples feel free to extend this list as you see fit, I'm just providing the basics πββοΈ. Stay tuned (or whatever the internet equivlent is) for future posts. I'll provide complete code examples via Github but fair warning - this is not a "learn to code from scratch" type of site.