JavaScript Crash Course

This is a course designed for introducing JavaScript and Node.js as a platform for backend applications. It assumes that you know basic concepts of (object oriented) programming but we will start from the beginner level and build up. So, the more programming experience, the better — but total newbies are also welcome, provided that they invest the required amount of time for self-learning.

The course is designed around open-source technologies, so a Unix-like system, Linux or MacOS is preferred. Git and Visual Studio Code will be our main tools, along with Node.js. Windows is not preferred, but if you absolutely have to live on Windows, you should have a working git and Node.js installation, and the rest will work.

In the end we expect to come up with a simple backend application that gets deployed with Docker and provides a REST API before a MongoDB datastore. This will not be an easy task, but we are committed to get every attendee on this level :)

Finally, this is a challenging, intensive, but fun and resourceful course. We will strive to do better each and every week. It won’t be a bed of roses, but it will provide immense learning opportunities.

We also have a dedicated Slack channel (#js-crash-course) in the WTM Slack to help out the attendees with their assignments outside the class hours. An invite link to our Slack can be found in each of the meetup events.

During the meetings a group of volunteers will be around to answer your questions. Additionally, all our volunteers are online on Slack to answer your questions, in addition to several online-only volunteers. You’ll spot them easily - they have a red cross helmet emoji as part of their names.

Additionally, all talks are recorded and uploaded to YouTube. This is done with the purpose to help all those who want to take our course and can’t attend one meeting (e.g. if you caught a cold) or any meeting (e.g. if you have to babysit). If you will watch all talks, live or online, and present a satisfying final project - you will get the graduation certificate.

Syllabus

Meeting 1: JavaScript & ES6 Fundamentals

An introduction on how JavaScript works and how to take advantage of the new ES6 syntax and features. In this session, we cover the basic programming paradigms in JavaScript, as well as topics like OOP and functional programming. We use the Chrome browser as a playground for an interactive session.

Recorded talk

Meeting 2: Node.js Ecosystem & Basics

A fast dive into the Node.js ecosystem, detailing its working principles. A brief intro to its implementation and moving on to making use of and creating modules. Demonstration of the previous JavaScript and ES6 fundamentals, delving into the module pattern and several examples to familiarize with npm packages. We also talk about interacting with the file system. Useful tools like PM2 and nodemon are introduced in this session, as well as live debugging with Node.js. We use Visual Studio Code as the IDE of choice.

Recorded talk

Meeting 3: Promises and Async Programming

This session focuses on solving the challenges of asynchronous programming with certain constructs in Node.js — promises, async and await keywords. We discuss how each implementation enables a certain way of programming, and introduce a control flow library called async. We also touch upon streams and stream programming.

Recorded talk

Meeting 4: HTTP APIs with Express.js

An introduction to web applications with the express framework and most popular packages including sessions and authentication, as well middleware implementations. We go into the details of HTTP and talk about RESTful APIs. We start implementing an example back-end application with express. We briefly talk about real-time capabilities with WebSockets.

Recorded talk

Meeting 5: Adding a MongoDB Datastore

This session improves on the previous express application and introduces a MongoDB database as the datastore. We look into mongoose ODM and how to model simple data structures in MongoDB. We also talk about database denormalization approaches MongoDB enables. Further experiments with MongoDB queries and wiring the REST endpoints of the express app to real data.

Recorded talk

Meeting 6: Hands-on Session

This session is fully hands on. Work on your project, ask for help with your work or for clarifications on our past materials. Let’s get those websites to life!

Meeting 7: Testing

This session focuses on testing Node.js applications and the APIs that we have developed. We talk about general best practices in testing software, and several layers of application testing including unit testing, integration testing and acceptance testing. We implement several tests for our APIs with the test runner AVA.

Recorded talk

Meeting 8: Deploying & Scaling Apps with Docker

The final session in this series introduces the final step in an application’s lifecycle — the deployment. We learn the basics of Docker and how to deploy our Node.js applications with Docker. We introduce the concepts of continuous integration and continuous deployment, as well as automated testing. This session also includes scaling Node.js applications with load balancers and a reverse proxy setup with nginx.

Recorded talk

Meeting 9: Graduation Event

We will gather to hear the talk “JavaScript is a Buffet, not a Main Course” by Chris Heilamnn, see the final projects and cheer our classmates!

See the graduation event pictures

Talk Description: Now that you learned about JavaScript, you’re ready to take on the world as JavaScript runs everywhere. The trick is to not get overwhelmed and to find what makes you happy as happy developers are effective developers.

Chris Heilmann has a 18 year old history of using the language and wrote many books about it. Let him help you not get lost in the rabbit hole that is JavaScript in 2017.

Read about the talk: So, you learned JavaScript – what now?

How to join

Sign up on Meetup.com. Please be aware you’ll be required to attend at least 80% of the classes to successfully complete the course.

Diversity and Code of Conduct

Our mission is that everyone feels welcome to our events no matter gender or nationality, take their first steps in tech and be part of our local community.

We strictly follow the Berlin Code Of Conduct and we don’t tolerate any kind of bad behaviour as defined by the code of conduct.

Location

King Jägerstraße 32 10117 Berlin

Communication

Join the Women Techmakers Berlin Slack

Join the #javascript channel

FAQ for Students

Do I need to attend to all the sessions?

We require at least attending at least 80% of the classes

Do I need to present a final project for graduation?

Yes, presenting your project at the closing event is required to get the certificate of completion.

I skipped some lessons and I am lost. Can I still come to the events?

Ping the coaches on slack, who can help you plan your catching up.

How many hours do I need to study each week?

We recommend investing about 3 hours a week in order to complete the whole course and do the project.

Do I need to prepare the sessions at home?

Yes, it is recommended that the students will review the recently taught material before each class.