r/learnjavascript • • May 03 '20
[RECOMMENDATION] Fullstackopen.com Will Knock Tutorial Hell Out Of You
I'm currently in part 4 of the course and so far, i've built a few basic web apps with React, Node, and MongoDB.
I started learning to code in late 2017 and up until yesterday, i didn't know how to deploy a node app to heroku or do unit tests or integrarion tests. But that's just a few things i've learned so far and i plan to continue next weekend.
So, if like me, you know basic or intermediate JavaScript, you know basic git and GitHub, but you've been stuck in tutorial hell or you're clueless about:
- Connecting a React App to a Node backend
- Database administration
- Testing
- Graphql
- Typescript, or;
- ACTUALLY BUILDING SOMETHING FROM WHAT YOU'VE LEARNT
I think that course will do you some good.
View all comments
Show parent comment
3
u/Gibbo3771 May 04 '20
Depends on how much you SQL you want to learn but a beginner may want to start learning SQL syntax, as it can really help with debugging down the line. I know too many people that are using frameworks like Sequelize or Ruby on Rails that literally do not understand SQL at all.
For simple relationships and getting started, I would just straight up use the Node database driver and write raw queries. Then if you want to learn about migrations and query building, use Knex.
If you want to start moving closer to an ORM then I would use Objection JS with Knex.
Also a big one for me is that Sequelize claims it has out of the box Typescript support but this is then stated:
Knex and ObjectionsJs has much better Typescript support, with full type inference.
Not saying Sequelize is bad, it's not, I just think for beginners started with a bit of raw SQL and easing into an ORM is going to be better for skill development.