Live data from Hacker News

Ask HN: What are you using as an Angular backend?

news.ycombinator.com

1–10 of 19 posts

Ask HN: What are you using as an Angular backend?

#1
Interested in what people who are doing medium to large-ish Angular apps are using on their server side? I'm about to embark on a medium sized project and making the it seems like using Rails or Django (the two frameworks I'm most familiar with) are a bit of an overkill given I don't actually need all the routing/templating/viewing gumph that is built in. What do you find is working well for you?

Re: Ask HN: What are you using as an Angular backend?

#3
I use Scala, Play, Postgres for backend API. I started with checking Flask and learning Rails, but then I just switched back to the stack I am comfortable with as I don't want to learn both new backend and frontend (Angular.js) stuff on the project and focus on delivering. Frontend and backend code are kept separately for now and I use Yeomen for assisting frontend development and it works fine.

If you go with Rails you can strip it down and check http://api.rubyonrails.org/ for APIs. There's similar project for APIs in Django.

Re: Ask HN: What are you using as an Angular backend?

#4
NodeJS + Express.

I've had some good mileage out of SailsJS ( http://sailsjs.com/ ) recently, essentially it is a NodeJS + Express stack with Socket.io and prebuilt ORM/blueprints. Up and running in a matter of minutes and behind the scenes it is still just NodeJS/Express

Re: Ask HN: What are you using as an Angular backend?

#6

Firebase added bindings for Angular a few months ago.

great reminder - I tinkered with firebase a bit a while ago - I'm not sure about the security implications of it though - it seems like (though I haven't actually tried) that anyone could grab your firebase url and start randomly writing objects to it. I know they have some authentication, but I haven't looked too closely into it yet - thanks for the reminder.

Re: Ask HN: What are you using as an Angular backend?

#7

I use Scala, Play, Postgres for backend API. I started with checking Flask and learning Rails, but then I just switched back to the stack I am comfortable with as I don't want to learn both new backend and frontend (Angular.js) stuff on the project and focus on delivering. Frontend and backend code are kept separately for now and I use Yeomen for assisting frontend development and it works fine. If you go with Rails…

haven't actually used the rails api - I'll take a look cheers.

Re: Ask HN: What are you using as an Angular backend?

#8

NodeJS + Express. I've had some good mileage out of SailsJS ( http://sailsjs.com/ ) recently, essentially it is a NodeJS + Express stack with Socket.io and prebuilt ORM/blueprints. Up and running in a matter of minutes and behind the scenes it is still just NodeJS/Express

great - not seen sailjs before - I'll give it a look see - thanks.

Re: Ask HN: What are you using as an Angular backend?

#9
I'm using Sinatra - little overhead, simple code. I used node.js/express.js in the past, but the callback hell made me dislike it a bit, although admittedly I'm not experienced with node, so there might be a way to avoid that.

I had a look at Firebase and my main problem with it is having to rely on 3rd party service and storing data on their servers + portability if I was to decide to leave them in the future.

Re: Ask HN: What are you using as an Angular backend?

#10
I use Django and Tastypie. If you don't need Django's routing, templating, views, etc. then don't use them! Code that is never run doesn't cost you anything.

Tastypie lets you build APIs quickly, and the Django admin lets you browse your data without having to write any code at all. For the kinds of apps I build, things can't get easier than this. YMMV, of course.

Post reply on HN