Needs advice
on
PostgreSQL
Node.js
and
Go

Hi everyone! I just joined this site today and I need a little help...

So I'm a little bit new to webapp developing and I'm trying to think of the tech stack needed for my class project. The project idea is basically a forum system and I believe the main components are the following: (1) The front end (2) The backend (3-ish) The database

For the front end I'm thinking React, not too much difficulty here. The main issues for me are thinking about the backend and the database. I really like the idea of using Go to create the backend server, but then again I have little to no experience in Golang. Is it a good idea to give it a try for an eight week long project or default to Node.js?

Regarding the database, I'm thinking of using PostgreSQL, but I'm not sure how to setup these sorts of sql servers. I also don't know how I would host golang servers.

Please send any suggestions or tips to me, thanks!

READ LESS
5 upvotes14K views
Replies (6)
Principal & Founder at Airwave Tech
Recommends
Node.js

For an 8 week project, pick what you know. If node.js is what you know, just do that. Do you know how to use docker? If you know how to use docker, you can get any SQL database running on your machine pretty quickly without having to know how to manage the database server itself. Think of it as a database as a service for your local setup.

In production, I wouldn't pick node.js as a backend language. I'm sure it can be performant, but I personally have not seen node scale well in the backend. Go is performant. They have widely adopted libraries, SQL drivers in your case. You can build slim docker containers, and also js doesn't have type safety.

READ MORE
4 upvotes862 views
CTO at Nugen Computer & I.T. Services
Recommends
Node.js

Hi Jjx003, I will recommend you to go for Node.js with Mongodb. I have been working with the both from long time. Node.js is very good for implementing things which require fast I/O system. I have developed the whole inventory system in React Node.js MongoDB and it is working very fine even after the product database has been so heavy. Apart from this, it will be easy for you to go for one language while developing the frontend and backend i.e. Javascript.

READ MORE
8 upvotes4 comments2.9K views
Jjx003
Jjx003
April 9th 2020 at 6:38AM

Really appreciate your advice! I'm going to use Node.js for sure. I just have a few questions regarding MongoDB:

-Do you think this service would work well for a sort of forum-based web app? Where there's going to be a lot of text and organization?

-How high is the learning curve for MongoDB?

Thanks.

Reply
Varun Sharma
Varun Sharma
April 9th 2020 at 11:55AM

Sure mongodb will be best for forum-based web app as it is going to have so many threads and mongodb queries are dead simple to traverse all the threads. About the learning curve you have asked. You have to dig deep in the beginning. It won't take long to start the app. Just start with introduction of Javascript/Json in the beginning. Afterwards, let me know if you need any help. I try my level best to help you to the point.

Reply
Alistair Smith
Alistair Smith
April 9th 2020 at 1:00PM

I second this. You can use `mongoose` to make your MongoDB experience 10 times easier!

Reply
Varun Sharma
Varun Sharma
April 10th 2020 at 7:25AM

absolutely right

Reply
View all (6)
Avatar of Tony Chong

Tony Chong

Principal & Founder at Airwave Tech