DEV Community

Discussion on: Best Frontend & Backend

Collapse
 
tqbit profile image
tq-bit

Okay, then it you're after something modern, I'd give the MEVN stack or MERN stack a try. Both are using Javascript as backbone, differ only in the frontend framework they use.

  • (M) MongoDb as database
  • (E)Express.js as backend framework
  • (V/R) React / Vue respectively for the user interface
  • (N) Node.js as the runtime environment
Thread Thread
 
yobretyo profile image
Bret

Thank you, i haven’t used express yet, would a CMS be close to it?

Thread Thread
 
tqbit profile image
tq-bit • Edited

Not quite, a cms is a whole piece of software while express is like a toolkit. You could however use express and e.g. mongoose (a mongodb driver) to build your own one.

Thread Thread
 
yobretyo profile image
Bret

Ok, but when would you need Mongobd instead of sqlite? I’m liking APIs now

Thread Thread
 
tqbit profile image
tq-bit

You could possibly substitute them with one another, depending on what you prefer or require for your project.
In a nutshell, Sqlite stores data in predefined tables, whereas mongodb goes with collections ( json-like structure ). The second option is comparably messy as you create your structure on the go, but it's easier to scale and you won't need to write SQL queries to do data operations.