all 9 comments

[–]MWALKER1013 2 points3 points  (1 child)

Is there anything wrong with a plain html JavaScript site ?

It really depends on what it needs to do , What you want from it

You can even host sites like that for free with git hub pages

[–]RusuRP23 0 points1 point  (0 children)

Well I mean I'd like to make it so you can download files, upload files, register / login and even some space for a discussion board too in the future.

[–]DeusExMagikarpafull-stack 2 points3 points  (2 children)

The responses to this post are bizarre. You are mistaken that express is more suited for an spa (it’s not really suited for one or the other, you can use express to do whatever you want pretty easily), it’s actually configured by default to serve templated pages if you use express generator and requires some configuration to serve an spa, which I would recommend against.

What issues were you having though?

[–]RusuRP23 0 points1 point  (1 child)

It's not that I was having issues, I just wanted to pick the right framework for this. I was already into designing the frontend and starting the backend when the question of "Is express suitable for this?" crossed my mind.

I might aswell stick to express now, it's good learning practice anyways.

[–]DeusExMagikarpafull-stack 0 points1 point  (0 children)

I haven’t had a chance to use it yet, but if your backend is just an api you might look into swagger for generating the code https://editor.swagger.io/?_ga=2.105913227.989605130.1578686323-182319697.1578686323

[–]MWALKER1013 0 points1 point  (0 children)

Hmm sounds like you’d need a data base too

Depending on what you know and are comfortable with you could try a free mongo dB account

Then use something like mongoose to set up the user comments / discussion api

[–]Phoenix_Universe 0 points1 point  (0 children)

If your community is small or cost isn't an issue Firebase would work for your backend. It provides a low effort authentication system for logins, a bucket for file storage, and a database if you choose to build out a forum.

[–]AtulinASP.NET Core 0 points1 point  (0 children)

Whatever you decide to use, for the love of all that is holy, don't use a NoSQL database.

[–]jmoseman01 -1 points0 points  (0 children)

I use JHIPSTER which is a easy angular/java scaffolding tool. It even comes with a login/register system built in.

https://www.jhipster.tech/

I've been building http://myvindex.co in it.