I'm building something... Ep. 2

I'm building something... Ep. 2
Photo by Paul Becker / Unsplash

I got busy right after the first post and now I have a functional prototype. This is what you see when you visit the "homepage" index:

I know, it looks like crap. But hey, I didn't say it was going to be pretty 😜

The beauty of Rails, and its scaffolding generator, is that with just a few lines of code, you can have a fully functional -not pretty- but fully functional web application, that does all you need it to: CRUD! Create, Read, Update, and Destroy.

Right now, if I want to add or view my listings, I have to go to a listing index that looks like this (by default, again, thanks to the scaffold generator).

This is a list of all listings and their attributes. The category attribute reflects the category ID, not the category title or name, so that has to be changed so it's more descriptive.

So, a few things to fix:

  1. Clicking each category will show its contents, i.e. the listings it contains.
  2. When creating a listing and adding it to a Category, the category selection should be the category.title not the category.id
  3. Eliminate the unnecessary scaffold code. This includes things like unnecessary CRUD actions, unnecessary views, etc.

I played a bit with Whimsical (which has amazing UI/UX, by the way) and came up with this:

I'm not sure if the site will end up looking like that, but it's a start.

In the next post I'll tackle the punch list I wrote above and try my hand at coding some custom css to make it a bit more appealing.