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 πŸ˜‚).

  1. You want to make some app (mobile, web, desktop)
  2. 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:

  1. Register new users
  2. Login existing users
  3. Users can get their own data
  4. Users can update their own data
  5. Users can search by username
  6. Users can make lists of users
  7. Users can edit these lists of users

We'll store some basic information for each user:

  1. Username
  2. 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.

Subscribe to nodev

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe