Thursday, 11 July 2019

Am I getting this right? (the stack)

Hi there,I apologise if this breaks any rules, or seems huge. (first time here)​I'm quite new to nodejs and have been reading up on it mostly, I've done some basic tutorials like setting up a mini server, basic routing, connecting a database, etc etc. From my understanding I can create a restful API to perform CRUD operations with Node, Express, Bcrypt etc. Once we have that performing actions with the database we use Postman to test and what not, make sure it's all working, but that's where the tutorials usually end.​What I don't understand is once we have an API sitting there all good to go what is the next step? We obviously want to create a front end to connect to this? Do we use something like Vue, Angular, React to pass data from the controls on the webpage back through the API?​If that's the case are there other ways of building the app, are there ways to not need an API? Whats the pro and cons versus any other way?​Knowing all this, how then does redux, axios etc then fit in with the above? and why is that needed, when in this case, the base frameworks do that? Is it a more simpler/nicer approach to do the things the base framework does? or am I missing something there?​Just sort of wanting a discussion, or any materials that can point me in the right direction. I've been at this for about 20 hours and I think I kinda just want to talk to people about this. Is there some kind of perfect article to explain? or a book or something?​**Bonus question**Is it best to separate the database, API and Front-End on their own servers with say a load balancer at the front, assuming we are using AWS?

Submitted July 11, 2019 at 08:08AM by Riza085

No comments:

Post a Comment