DEV Community

Discussion on: What are your struggles as a beginner dev?

Collapse
 
joelbonetr profile image
JoelBonetR 🥇 • Edited

Best thing you can do from my experience is to create a repo, then the server folder, then the CI script, then adding a bundler like Parcel.js, create an index.html (or index.js), adding the watch/serve custom script to your package.json file, and writing a quick read me like (yarn install, yarn serve) and so. Then the .gitignore to not push node_modules, IDE files (like .idea from jetbrains or another) and .cache folder.

At this point you should push the package.json and readme.md to your repo and test the pipeline.

You'll need all those steps if you want to create a project from scratch anyway and you'll have the structure ready to begin. At this point is easier to follow next steps like thinking on the shape you want for your project (backend and frontend techs, DB and so).

The easy path to follow is having a cheap hosting which usually runs PHP and MySQL so you only have to concern about frontend.

You can check this article for a full project workaround (where I explain all the steps for a static site, but you can extrapolate it to whatever you want).

If you want or need a tutorial for a full stack project tell me and i'm doing it when I can =D

At this point you'll have too much done to retreat. With experience all those steps could take you only 30min but even then, you'll always see the repo everytime you enter your gitlab, github or whatever, and same for the project directory inside your hosting so it's a nice motivation to keep on!

If you want to do something but don't know why, simply check internet for ideas and build your own version of something you like