News for hackers. Stuff that matters.
Re:Ask HN: What is your go to stack for REST API? by r-s on Friday November 08, 2019 @10:22AM (#21482985)
Rails + Postgres + Heroku. I may be living a decade in the past, but all the bugs are worked out and the development speed is extremely good.
Re:Ask HN: What is your go to stack for REST API? by andrei_says_ on Friday November 08, 2019 @11:31AM (#21483790)
Same here. Ruby is a pleasure to work with and Rails fits my brain.

The stack does not feel outdated at all.

Re:Ask HN: What is your go to stack for REST API? by amirathi on Friday November 08, 2019 @08:33AM (#21481990)
Python + Django on AWS Beanstalk backed by Postgres on RDS.

Django REST Framework provides pretty much everything you need for a REST api.

Re:Ask HN: What is your go to stack for REST API? by DividableMiddle on Friday November 08, 2019 @07:39PM (#21488559)
I just rolled a DRF backed app into production. Any tips or helpful dependencies you’ve had the pleasure of using?
Re:Ask HN: What is your go to stack for REST API? by Nextgrid on Sunday November 10, 2019 @11:57AM (#21498800)
If serialisation becomes a bottleneck with the built-in DRF serialisers I suggest you check out Serpy.
Re:Ask HN: What is your go to stack for REST API? by codegeek on Friday November 08, 2019 @11:15AM (#21483610)
Golang with Postgres. Love the simplicity and power of Go along with a binary executable.
Re:Ask HN: What is your go to stack for REST API? by TheyCallMeMaxi on Friday November 08, 2019 @01:43PM (#21485351)
Where my node folks at?

Node + Express + Nginx + Pgsql on Elastic Beanstalk.

Re:Ask HN: What is your go to stack for REST API? by joshmanders on Saturday November 09, 2019 @11:25PM (#21496396)
We’re too busy building graphql apps instead of REST apps.
Re:Ask HN: What is your go to stack for REST API? by stockkid on Sunday November 10, 2019 @06:07AM (#21497506)
What is your experience with elastic beanstalk like?
Re:Ask HN: What is your go to stack for REST API? by TheyCallMeMaxi on Monday November 11, 2019 @09:05AM (#21504875)
It's just a beefed up EC2. I don't have high traffic so cannot say how well the autoscaling works but apart from that, not much different than putting your app on EC2.
Re:Ask HN: What is your go to stack for REST API? by Nextgrid on Sunday November 10, 2019 @11:58AM (#21498806)
Do you use any ORM or just raw SQL queries?
Re:Ask HN: What is your go to stack for REST API? by TheyCallMeMaxi on Monday November 11, 2019 @09:04AM (#21504869)
I use Sequelize as my ORM. There are debates around using/not using ORMs but personally I feel weird writing raw SQL in any language except a SQL terminal.
Re:Ask HN: What is your go to stack for REST API? by sergiotapia on Friday November 08, 2019 @01:26PM (#21485164)
Elixir + Phoenix + Postgres + Heroku
Re:Ask HN: What is your go to stack for REST API? by laurentl on Saturday November 09, 2019 @04:55PM (#21494653)
API gateway + Lambda functions (in Python) + DynamoDB if I need to store data.

Pricing is completely linear with usage (and very low/free for low traffic) and I don’t have to worry about uptime or scalability.

Re:Ask HN: What is your go to stack for REST API? by monkeydata on Friday November 08, 2019 @08:23AM (#21481930)
cakePHP on EC2 + postgres on RDS is nice. toss in some Redis caching and feed it traffic from a load balancer. you can get a lot done with very little effort.
Re:Ask HN: What is your go to stack for REST API? by lnalx on Friday November 08, 2019 @08:32AM (#21481985)
Using EC2 for PHP and RDS for postgres isn't cheaper with Heroku than with AWS ?
Re:Ask HN: What is your go to stack for REST API? by monkeydata on Thursday November 14, 2019 @08:32AM (#21535194)
yeh, it is quite a bit cheaper. However, heroku is more aggressive in throttling the cheap stuff. I still use it for ci though. AWS simply offers more granular control and a more robust infrastructure. If you dig down into it, you'll see heroku is actually running on AWS.
Re:Ask HN: What is your go to stack for REST API? by bananapear on Friday November 08, 2019 @06:53PM (#21488252)
Java, Jersey & Hibernate
Re:Ask HN: What is your go to stack for REST API? by partisan on Friday November 08, 2019 @02:28PM (#21485810)
.NET Core + Web API

Postgres

Nginx

Digital Ocean

Re:Ask HN: What is your go to stack for REST API? by nginex on Friday November 08, 2019 @12:43PM (#21484713)
Drupal 8
Re:Ask HN: What is your go to stack for REST API? by rsinger87 on Tuesday November 12, 2019 @02:20AM (#21512173)
Django Rest Framework, Postgresql and Redis. RQ for background jobs.