<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Matt</title>
    <description>The latest articles on DEV Community by Matt (@mful).</description>
    <link>https://dev.to/mful</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F57518%2Faaa81c37-8a0f-4c43-aed7-ba0dbed487c6.jpeg</url>
      <title>DEV Community: Matt</title>
      <link>https://dev.to/mful</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mful"/>
    <language>en</language>
    <item>
      <title>Any recommendations for a Rails-like NodeJS toolchain for building APIs?</title>
      <dc:creator>Matt</dc:creator>
      <pubDate>Thu, 15 Feb 2018 21:39:03 +0000</pubDate>
      <link>https://dev.to/mful/any-recommendations-for-a-rails-like-nodejs-toolchain-for-building-apis--3abd</link>
      <guid>https://dev.to/mful/any-recommendations-for-a-rails-like-nodejs-toolchain-for-building-apis--3abd</guid>
      <description>&lt;p&gt;Reviewing the NodeJS ecosystem, there seem to be many competing tools for similar functionality — Knex vs Waterline vs Sequelize for ORMs; Sails vs Express vs Trails vs  for base frameworks; db-migrate vs sails-migrations vs Knex migration support for database migrations; etc. &lt;/p&gt;

&lt;p&gt;Coming from the Rails world, where there is (relative) consensus on tools, this is a bit overwhelming.&lt;/p&gt;

&lt;p&gt;Basically, I'm looking for a toolchain that supports the following features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Database migrations&lt;/li&gt;
&lt;li&gt;Good PostgreSQL support&lt;/li&gt;
&lt;li&gt;ORM&lt;/li&gt;
&lt;li&gt;Supports building JSON APIs&lt;/li&gt;
&lt;li&gt;Secrets management (nconf seems promising...)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ergonomically, I look for the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Integrated — pieces should easily play well together&lt;/li&gt;
&lt;li&gt;MVC-ish (the 'V' in this case is JSON, but still...)&lt;/li&gt;
&lt;li&gt;Production-safe (specifically for SQL DBs — seems like a lot of NodeJS tuts assume NoSQL DBs, and thus ignore stuff like schema versioning &amp;amp; migrations)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I've been messing around with SailJS, and like some of the ideas behind it, but find it's lacking everything SQL-specific (or at least, there doesn't &lt;em&gt;seem&lt;/em&gt; to be a consensus on how to handle migrations, etc).&lt;/p&gt;

&lt;p&gt;What toolchain would you NodeJS devs out there recommend, given the above? Any and all help would be appreciated here!&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>node</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
