4 ms·
Ask HN: What are you using as an Angular backend?
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?
- illektr1k 13y agoNodeJS + Express. I've had some good mileage out of SailsJS ( http://sailsjs.com/ 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
- groundCode 13y agogreat - not seen sailjs before - I'll give it a look see - thanks.
- jaredsohn 13y agoFirebase added bindings for Angular a few months ago.
- groundCode 13y agogreat 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.
- antonio-R 13y agoHey, NodeJS with MongoDB are a combokill combination.
- playing_colours 13y agoI 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/ http://api.rubyonrails.org/ for APIs. There's similar project for APIs in Django.
- groundCode 13y agohaven't actually used the rails api - I'll take a look cheers.
- tomasztomczyk 13y agoI'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.
- GeneralMaximus 13y agoI 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.
- iends 13y agoHave you looked at django-rest-framework? As somebody who has contributed to tastypie, I feel that django-rest-framework is more django-like.
- GeneralMaximus 13y agoIt's on my TODO list of things to try out. I have had some minor issues with Tastypie, but my current project is too far along at the moment to switch to another framework.
- hhimanshu 13y agoI am using Flask(Python) with PostgreSQL DB for my recent project
- jophde 13y agoI am going to be using Go and Mongo.
- arms 13y agoI'm using Flask with Flask-Restless for an API.
- ishbits 13y agoTornado when using Python. SpringMVC/Jetty when using Java.
- bjoerns 13y agoFlask + MongoDB
- JohnMunsch 13y agoWe're switching to it on an existing project so the back-end will continue to be Java with Spring.
- AdamWynne 13y agoClojure + Ring/Compojure + MongoDB (super terse code, easy to test)