Live data from Hacker News

I Built a Social Network for Food and Here’s How I Did it

blog.yumhacker.com

21–30 of 73 posts

Re: I Built a Social Network for Food and Here’s How I Did it

#21

Nice! Technical question: I type "Elmhurst, NY" and it converted it to "Elmhurst, Queens, NY 11373, USA", how did you do that? I'm looking to do something similar!

Most geocoding APIs (Google: https://developers.google.com/maps/documentation/geocoding/) will normalize an address and give you data back about it.

Re: I Built a Social Network for Food and Here’s How I Did it

#22

Nice! Technical question: I type "Elmhurst, NY" and it converted it to "Elmhurst, Queens, NY 11373, USA", how did you do that? I'm looking to do something similar!

I use the Google Maps Javascript api for geolocation. It takes a string and returns an array of places that match. Each place object includes a formatted address which I put in the search bar in place of what was initially typed.

Re: I Built a Social Network for Food and Here’s How I Did it

#23
It's great and congratulations for your accomplishment! 1 question though, are you planning to make money out of it? If so how? Because I too am a beginner developer, learnt and made a website all by myself www.gccfishing.com and I was looking for ideas on how to create income from it.

Re: I Built a Social Network for Food and Here’s How I Did it

#24

Nice! Technical question: I type "Elmhurst, NY" and it converted it to "Elmhurst, Queens, NY 11373, USA", how did you do that? I'm looking to do something similar!

I'm not 100% certain but I think this is the code you are looking for https://github.com/jendewalt/yumhacker/blob/master/lib/geoco...

Re: I Built a Social Network for Food and Here’s How I Did it

#25

I really, really enjoyed the 180 websites posts. I checked this site out earlier (this week I believe?) when you shared it to HN and thought it was pretty slick. It was great to get a sort of post game review of this particular app, detailing your battles in the trenches with Backbone, Places API etc. Really inspring stuff for anyone sitting around with the itch to throw a side project together on a rainy day. Respec…

Thanks! I'll probably write more about my learning process as well as the technology in the future.

Re: I Built a Social Network for Food and Here’s How I Did it

#26
post #16

@jenniferDewalt, Great job on the site, I also found your original 180 websites inspirational. I was wondering if you could speak to the technology stack you used to create your site frontend/backend?

If you actually read her post, she gives all the details there. Rails + Backbone + pg

Re: I Built a Social Network for Food and Here’s How I Did it

#27
post #17
post #13

Earlier quoted context omitted.

Well, you seem like an asshole. Pro-commenting-tip: Don't shit on people's accomplishments.

Instead I'll just join with you all in never-ending self-congratulatory ecstasy. Why aren't we all in Paradise?

What's with the cynicism? Jennifer went from nothing to a web application using modern technologies. That's cool. I don't think she's aiming to be the end all of social networks for food.

Re: I Built a Social Network for Food and Here’s How I Did it

#28
post #16

@jenniferDewalt, Great job on the site, I also found your original 180 websites inspirational. I was wondering if you could speak to the technology stack you used to create your site frontend/backend?

Thanks! For the backend I use Rails as an api. Rails responds to the initial request with the assets and a barebones html doc with header, section and footer tags. From there, Rails responds to subsequent requests with JSON.

The restaurant search feature uses the Google Places api to get restaurant data (including things like hours and price) for places that aren't already in the database. YumHacker uses Postgres with PostGIS for the database and devise for authentication.

The frontend magic happens with Backbone.js. Backbone latches onto the skeleton html sent over by Rails to render the views. Whenever you request new data, it sends a request to Rails which sends back JSON. The learning curve for Backbone was kind of high but now that I've got the hang of it, it's pretty awesome.

I plan to write something more in depth about the technology in the near future.

Re: I Built a Social Network for Food and Here’s How I Did it

#29
post #16

@jenniferDewalt, Great job on the site, I also found your original 180 websites inspirational. I was wondering if you could speak to the technology stack you used to create your site frontend/backend?

Thanks! For the backend I use Rails as an api. Rails responds to the initial request with the assets and a barebones html doc with header, section and footer tags. From there, Rails responds to subsequent requests with JSON. The restaurant search feature uses the Google Places api to get restaurant data (including things like hours and price) for places that aren't already in the database. YumHacker uses Postgres wit…

Thanks for giving me a more in depth answer and not just telling me to go read your blog (which I should have done in more detail in the first place). Looking forward to seeing more good stuff from you and YumHacker.
Post reply on HN