I require to architect a web app that typically has the following specifications:
The web app is being built using Go (Golang) for the back-end and JavaScript/CSS/HTML for the front-end.
I am a well-versed application developer (use C# and MATLAB mostly), but this a relatively "younger" attempt on a web-app. My primary concern at this point is the correct architecture. Therefore please guide me to suitable resources if I have got anything fundamentally wrong.
Thank you!
You're probably better off using a database, you might be able to get away with just reading in some text file with user data but it's pretty easy to set up some minimalistic db like SQLite.
You'll probably want to just use AWS or Googles thing, you're app is pretty small scale so you'll easily get away with their "micro" size nodes. And I think both of those services offer some kind of free tier.
Correct, You'll want to use middleware such as gin-gonic that includes support for authentication. Also you'll probably want to familiarize yourself with password hashing if you're going to be implementing an authentication system.
Yes, generally most web requests are done with JSON, sometimes XML is used as well.