Image for post
Image for post

Learning NodeJS is a great opportunity for every web developer: Tons of jobs, easy to learn and, as Javascript is a MUST on web developing for the FrontEnd, you already know the language!

With this tutorial, you will create your first NodeJS server in less than 10 minutes.

In this video you will learn:

  • How to install NodeJS in your computer
  • What NPM is
  • How to create your NodeJS configuration file
  • How to create your first server and the base file
  • How to create routes to your server
  • How to install Nodemon

Related articles:

What exactly is Node.js?

Pros and Cons of Node.js

My Youtube tutorial videos

Final code on Github

Reach to me on Twitter

Originally published at https://letslearnabout.net on July 22, 2020.


You have just finished the Django poll tutorial, and you don’t know what should be your next step? Or are you looking for inspiration to improve your recently acquired Django skills?

Don’t you worry, as I’ve listed down the best Django tutorials I have found when I was still learning. Here they are:

A proper blog, by Corey Schafer

Image for post
Image for post

Yes, we know there are a lot of Django tutorials focused on blogs. But this one does it professionally. Deploying, AWS, enabling SSL certifications, users management, etc.

Start here:

Customer management app, by Dennis Ivy

Image for post
Image for post

Build a Customer management app from scratch. Manage customer information, orders, multi-parameter filtering, authentication, password reset, role permission, etc. …


Many people use Anaconda to write Python code. But it is so cumbersome for small scripts and hard to manage.

Instead, we can create our own virtual environments (like our own world) where we only have the packages we want to install.

In about 6 minutes we will be creating a Python virtual environment with Pipenv.

What we will learn here

In this video you will learn how to:

  • What Virtual Environments are
  • Why we use them
  • How to create our own Virtual Environment
  • To install packages on our Virtual Environment
  • How to create a small project from our Virtual Environment

1- Creating a virtual environment

Image for post
Image for post

What’s a Virtual Environment?

Many people use Anaconda, a Free Python distribution. While this helps when dealing with complex things by installing a series of packages (such as Machine Learning, Data Science, etc), sometimes is a bit cumbersome, especially when we want to control our environment by installing/removing packages, updating, etc. …


When I started programming, I was impressed by the number of programming languages.

Maybe you are in the same spot I was.

If you were, I wrote a guide to help you to pick your first programming language.

Picking the proper language for you: My case

Image for post
Image for post

I started learning to code 6 years ago with C. Until the next month where I (well, my class) moved to C++. Then PHP. And Javascript. All in 3 months.

And when I said I started learning, I mean we barely knew how to program after 3 months.

Why? Because when we learn the basics of one language, we moved to the next one. Just learning to do the same things (variables, creating classes and functions, conditionals) over and over, in the shiny new language. …


I’m doing my 5th #100DaysOfCode, this time, learning Node.JS.

Why it is so special? Because I’m doing another challenge at the same time. And I’ll be spending 6 hours a day doing both challenges. Yep.

Image for post
Image for post

What is #100DaysOfCode?

In case you don’t know what the 100DaysOfCode is, let me give you a brief explanation.

100DaysOfCode is a public commitment where you swear that you are going to learn some coding concept (A new language, framework, tool, etc) for the next 100 days, at least 1 hour each day.

You made it public so you feel pushed to do it. You can also tell your friends, significant other, family, workmates, etc that you are going to do it too, but the point of #100DaysOfCode, with the hashtag, is to find people on the same boat as you, sometimes even learning the same as you. …


After a successful first #100DaysOfCode challenge learning Vue.js and a not-so-successful failed the second and third one, I just started my fourth challenge.

As I have learnt from my mistakes (more than from success), I’m using a new learning approach and I’m learning faster and better than before. Want to know how?

Image for post
Image for post

What is #100DaysOfCode?

Before anything, let me explain what it is the #100DaysOfCode challenge.

#100DaysOfCode is a public commitment where you swear publicly that you are going to spend at least 1-hour coding daily, for the next 100 days. The time you code at your job doesn’t count towards this.

In this (at least) one hour, you’ll learn a new language, framework or anything related to code (for example, Docker, CI…). …


Image for post
Image for post

IMHO, helping people struggling is something you should do. Period. Especially they struggle with something that is hard (i.e.: programming) and you can solve, in seconds, something that would take them hours, if not days, to solve.

But…did you know that by helping others, you also improve your skills as a programmer? Let’s learn how!

An example: My case

Let me start with an example: Something that happened at my job.

I work with a lot of people, but I have 2 people I interact a lot with Programmer A and Programmer B.

Our Programmer A has lots of years of experience, has been around a lot and can find the solution to almost everything in seconds. …


There is a lot of books for learning Django for beginners, but what about for those that want to level up?

If you have been using Django for a while, your average “Let’s build a blog/newspaper” may fall short. Thankfully we have “Django for Professionals”

Introduction — What’s Django for Professionals?

Image for post
Image for post

There are a lot of books to start learning Django right now. Beginners and even non-programmers can pick it up in hours, thanks to the Django structure, the Python English-like syntax and a few Django tips here and there.

But…what if you are past that? …


Original post Python Scrapy tutorial for beginners — 05 — How to use Scrapy Items

The goal of scraping is to extract data from websites. Without Scrapy Items, we return unstructured data in the form of Python dictionaries: An easy way to introduce typos and return faulty data.

Luckily, Scrapy provides us with the Item class: A class we can inherit to make our data more structured and stronger, yielding a Python object.

In this post you will learn how to:

  • Create Scrapy Items
  • Use them to return a structured object

Starting point

Image for post
Image for post

While you can use your own Scrapy projects for this tutorial, I’ll recommend you to follow along by using the last version of this tutorial series, where we added Rules and a LinkExtractor to our spider. …


You finished a tutorial in record time. Congratulations! Now its time to do another one! And keep going down a rabbit hole that it is hard to escape. Hard until now.

Almost all of us spent our fair share of time inside the Tutorial Hell, doing tutorial after tutorial having a false sense of security and progress, only to be shattered when we faced with real life.

Let’s talk about it. But especially, let’s talk about how we can escape from Tutorial Hell and recognize if we are there.

Introduction

Image for post
Image for post

Before putting a solution on Tutorial Hell, we need to know what it is, why we felt into that trap and why we are stuck on that. …

About

DavidMM

Valencian Full Stack | Python | Django | DRF | Javascript | Vue | Flutter | Creator of http://letslearnabout.net/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store