Hacker News new | ask | show | jobs
by TheCapeGreek 305 days ago
I think neither StackExchange nor HackerNews are probably the right place where you'll find help with this. I'm sure there are plenty of Laravel peeps lurking around here, but HN's format isn't great for code review.

Find dedicated Laravel communities like Laracasts, Larachat Slack, the official Laravel Discord, your local tech community group's #laravel or #php channel.

To your question: Will this code get you a job? No, it's a super basic example. You seem to know that demonstrating more advanced concepts will do you good.

Basically, a snippet of code isn't enough to get you hired. Yes, you've done the absolute basics of MVC with Laravel, and split logic out into a Service class which can be handy.

What you need to do is put the entire project on your Github. Use everything you're learning in the app. Then, make sure the readme is up to date with what the project does, and add some screenshots or a recording to the readme of how it works. You don't have to build the next Amazon, but a basic "fake" e-commerce app and similar is good enough to demonstrate what you're doing.

Make sure you commit code frequently and logically (commit groups of code by the feature you've added), so that your progress can be seen. Otherwise it can also look like to just copied and pasted code into the repo.

All that being said, the sample you've built is decent for junior work! If you want to keep levelling up, I recommend Laracasts (plenty of free content on the site and Youtube channel) and Laravel Daily to start with.

The other poster is right that understanding the fundamentals of your tech is arguably more important than learning a framework, but at this stage in your career I think it's more of a tomato tomato thing. You can start with a framework to be productive and then learn more about the fundamentals over time as you need to. Don't get bogged down in building a perfect understanding of PHP and associated technologies if it's resulting in you not getting anything built.

1 comments

Yes I plan to keep leveling up for sure. And plan to finish the project, it will be a backend api to a E-Commerce website using Laravel, of course, I am planning on becoming a Backend Developer. And I plan to add Events\Listeners, Queues, Cache, 3rd Party Integrations(maybe PayPal), and maybe add some DevOps stuff using Jenkins(PHP unit, SonarQube, Code coverage for PHP), Ansible, etc... And I know there is a lot to learn, but if I do add all that (what I wrote up above) and finish the project, then can it be worthy of me getting a job, is that what you are saying, if I FINSIH the project of that level and maybe 2 more, I would be ready to start applying for Jr Laravel Developer Roles? But at least you say this is junior work. That made me feel like all this work I have put into web development has finally paid off. And yes I know what you are saying also of understanding the fundamentals first, and about making a up to date readme, adding screen shots of how it works, commit code on github, and uploading my code to github, and keep leveling up :) Thank you for your feedback!
Worry about working with Laravel, PHP, and probably a database first. Worry about DevOps in a year or two.

You don't need a 100% complete project to get hired, but you definitely need more than a few models and a controller. E-commerce can be a big thing to bite off, so try and define a concrete (and simple!) scope of what your app should be doing.

Bonus points if you get some tests written in there too.

Otherwise, applying for jobs right now in the junior area is quite the crapshoot. It's a volume game, so you might as well start applying for any and every junior role you see. It might not even be Laravel/PHP related.

Okay! Thank you for you for your advice and guidance! It really helped me out a lot. I will start applying for jobs now once I have a bit more code to add to my project :)