DEV Community

Discussion on: How would you make a fullstack app without a frontend framework?

Collapse
 
t_w_lee profile image
Tim Lee

Hey Trystan,

I’m new to web dev and have been looking for an example of app building without framework. I feel this is closest I’ve seen.

Do you have an example project in your GitHub I could check out to see how this works?

Collapse
 
trystansa profile image
Trystan Sarrade

Hi Tim.

I have a little project I built for 3 months without using frameworks. It will not work out of the box, but you will have a good example of how I do it. The main file is the "app.js" in the main directory.

github.com/Trystan-SA/Quested-Feed...

This kind of architecture is handful if you want to build something quickly without taking much time learning Typescript or any other frameworks. But you have to be careful about your code if you want to have something maintainable.

Thread Thread
 
t_w_lee profile image
Tim Lee

Thanks, Trystan - I am going back and fourth re: learning frameworks or going no-framework way. I've ready about benefits and downsides of both. For a newbie, do you recommend following something like you have linked or going with a framework?

My ultimate goal is to be able to launch side projects to generate some amount of income, if that helps.

Thread Thread
 
trystansa profile image
Trystan Sarrade

If you want to gain experience to have a job, aim for a framework that is popular in your field of interest. Like React or Vue for JS frameworks or Symfony for PHP and so on..

I started my project without using any frameworks. I first liked it since I was able to prototype fast and create what I wanted without learning some heavy frameworks and reading a lot of documentation. But the project got messy very quickly. If you want to write Good code without frameworks, you need to read about code architecture and gain experiences by programming a lot.

That depend on your motivation and final goals. If it's just about making a project to get money, the type of project and the complexity could help you choose if you want to use a framework or not.