DEV Community

Cover image for Creating React/Node apps that connect to PostgreSQL and HarperDB

Creating React/Node apps that connect to PostgreSQL and HarperDB

Andrew Baisden on October 06, 2020

I'm sure that most of you are already more than familiar with the MERN stack. Having a React front end with a Node/Express back end that connects t...
Collapse
 
davidcockerill profile image
DavidCockerill

Awesome post Andrew! Very comprehensive. Maybe the HERN stack is the future?

Collapse
 
andrewbaisden profile image
Andrew Baisden

Having the ability to use both NoSQL and SQL Operations with HarperDB definitely makes it appealing thats for sure. πŸ™‚

Collapse
 
christine927t profile image
Christine Treacy • Edited

Great job, Andrew! very nice in-depth tutorial! I'm always impressed when people take the time to make create such a thorough step-by-step guide to creating an app.

Collapse
 
andrewbaisden profile image
Andrew Baisden

Thanks hard work pays off.

Collapse
 
jacob_b_cohen profile image
Jacob Cohen

Fantastic tutorial! Obviously I love seeing HarperDB included in stuff like this, almost as much as I enjoy seeing Goldeneye as the example...

Collapse
 
paras594 profile image
Paras πŸ§™β€β™‚οΈ

This was one amazing post !! I really like that knex library for SQL databases in nodejs. Also, very well explained sir :)

Collapse
 
marchofprogress profile image
Erik O.

I like these kind of content here the best, learn from code is the easiest.

Collapse
 
jchlu profile image
Johnny C-L

This is super useful, but if you’re interested in using an RDBMS in the Jamstack you should check out the awesome, open source RedwoodJS

Collapse
 
andrewbaisden profile image
Andrew Baisden • Edited

It's cool however knowing graphql is a prerequisite so learning it will be slightly more complex if you don't know that language already. One for future exploration though.

Collapse
 
olivia101 profile image
Cristian

Take a look at Blitz.js which removes a lot of the boilerplate

Collapse
 
rutikwankhade profile image
Rutik Wankhade • Edited

Great post! But what if you want to upload an image rather than passing the imagUrl in the request? How to store and retriev images in harperdb database? How to implement that ?

Collapse
 
andrewbaisden profile image
Andrew Baisden

The file input should work developer.mozilla.org/en-US/docs/W...