• JetBrains logo
New

Build Backends with JavaScript: From Fundamentals to APIs

Master server-side web development by writing real Node.js and Express code in a professional IDE from day one.

Build Backends with JavaScript: From Fundamentals to APIs

  • 4 weeks

  • 7 hours per week

  • Digital certificate when eligible

  • Introductory level

Find out more about how to join this course

Why learn JavaScript Backend?

JavaScript isn’t just for web pages anymore – it powers the servers, APIs, and real-time systems behind millions of apps you use every day.

With Node.js, you can build full-stack applications using a single language, without needing to jump to Python, Java, or C#. It’s lightweight, incredibly popular, and heavily used by both early-stage startups and tech giants. If you want to build high-performance endpoints, handle user accounts, and push live data, JavaScript is the most practical language to pick up.

Learn by coding, not reading

Setting up backend environments and untangling asynchronous code can be confusing if you’re just reading tutorials. This course breaks down server development into bite-sized coding challenges.

Syllabus

Week 1: Core JavaScript & Foundations

Get comfortable with JavaScript essentials: variables, conditional logic, functions, and scoping. Learn how objects and arrays work under the hood so you can handle data cleanly from day one.

Week 2: Advanced Functions & Your First Server

Dive deeper into closures, arrow functions, and array methods. Learn how web servers actually communicate, set up Node.js, and write your very first route handlers.

Week 3: Express.js, Async Code, & Middleware

Master Express to build web APIs, tackle Promises and async/await to run tasks smoothly in the background, and set up custom middleware for logging and data validation.

Week 4: Real-Time Sockets, Databases, & Auth

Take your servers to the next level: store application data with SQLite, connect users instantly with real-time WebSockets (Socket.IO), and secure your application with token authentication.

Syllabus

  • Week 1

    Core JavaScript & Foundations

    • Launching Your JavaScript Backend

      Get oriented to the course, preview the real-time chat app you’ll work toward, and see how JetBrains Academy supports hands-on coding.

    • Managing Values and Scope

      Explore JavaScript variable declarations, naming rules, scope, hoisting, and the temporal dead zone to understand how values are stored and accessed.

    • Structuring Data in JavaScript

      Work with JavaScript’s primitive types, built-in string features, object properties, and arrays, including nested and multidimensional data.

    • Building Expressions and Comparisons

      Use arithmetic, string, logical, and comparison operators. Learn how operator precedence affects expressions and how JavaScript evaluates combined conditions.

  • Week 2

    Advanced Functions & Your First Server

    • Directing Program Flow

      Choose which code runs with if/else statements, the ternary operator, and switch. Compare these branching tools and when each is useful.

    • Organizing Logic with Functions

      Practice defining and calling functions, passing parameters, returning values, and using expressions, arrow functions, closures, and callbacks.

    • Iterating Through Program Data

      Repeat actions with while and for loops, explore for...in and for...of, and control loop execution with break and continue.

    • Building a Server with Node.js

      Follow a web request from client to server. Explore Node.js, HTTP servers, routes, and request handlers as you create your first backend responses.

  • Week 3

    Express.js, Async Code, & Middleware

    • Handling User Input Safely

      See how query-string values arrive as text, then explore type coercion, number conversion, truthiness, and equality when interpreting input.

    • Creating APIs with Express

      Build an Express application that routes requests, reads query parameters, and returns JSON responses to clients.

    • Structuring and Testing Server Code

      Organise code with ES modules, check behaviour with Jest and supertest, and use middleware and request logging to support maintainable server code.

    • Coordinating Asynchronous Work

      Understand how Promises represent future results, how chaining connects asynchronous steps, and how async/await makes that flow easier to read.

    • Managing In-Memory Collections

      Choose between arrays, Map, and Set for working with data in memory, and use array methods to transform and inspect collections.

    • Separating Data Access from Routes

      Explore how a data access layer separates storage operations from request handling, making backend code easier to organise and adapt.

  • Week 4

    Real-Time Sockets, Databases, & Auth

    • Modelling Behaviour with JavaScript Objects

      Explore this, prototypes, classes, inheritance, and method overriding, then see how static and private members and instanceof fit into object-oriented JavaScript.

    • Designing Safer Failure Paths

      Handle unexpected situations with try/catch, throw, conditional catches, and finally blocks so errors can be managed deliberately.

    • Organising Request Flow

      See how routers and middleware divide request handling into stages, and how middleware order affects normal and error flows.

    • Powering Real-Time Server Events

      Use Socket.IO to connect clients and servers, handle events, and broadcast updates so connected users can receive live information.

    • Securing Routes and Connections

      Explore JWTs, secret keys, authentication middleware, and socket authentication to control access to routes and real-time connections.

    • Saving Application State with SQLite

      Persist chat data with Sequelize and SQLite. Explore models and database records, and inspect how application data is stored.

    • Bringing the Backend Together

      Review ideas from across the course in a final quiz, then reflect on your progress and the next steps for building with JavaScript.

When would you like to start?

Start straight away and join a global classroom of learners. If the course hasn’t started yet you’ll see the future date listed below.

  • Available now

Learning on this course

On every step of the course you can meet other learners, share your ideas and join in with active discussions in the comments.

What will you achieve?

By the end of the course, you‘ll be able to...

  • Create scalable backend services and web APIs using Node.js and Express.
  • Produce clean, modern JavaScript using closures, prototypes, classes, and async/await.
  • Develop, test, and debug backend projects using professional JetBrains tools.
  • Create real-time, bi-directional features like chat using WebSockets.
  • Explore how to store persistent app data with SQLite and secure backend routes with authentication.

Who is the course for?

This course is for beginners, students, and self-taught developers who want to move beyond basic browser scripts and build real backend systems. If you want to learn server programming by actually writing code rather than watching long lectures, this course is built for you.

What software or tools do you need?

You’ll write code directly inside a JetBrains IDE – the same environment professional backend developers use every day. With instant automated testing on every endpoint and middleware function you write, you’ll learn backend architecture step by step through real, working projects.

Who developed the course?

JetBrains Academy

JetBrains Academy helps learners build tech skills with developer tools through project-based programming courses, hands-on practice, and in-IDE learning.

Unlock nowUpgrade and unlock this entire course now

Ways to learn

Subscribe & save

Buy this course

Start learning today

Choose the best way to learn for you!

$349.99 for one year

Automatically renews

$79/one-off payment

Free

Develop skills to further your careerFulfill your current learning needTry this course - with limits
Access to this courseticktick

Limited to 4 weeks

Access to 1,000+ coursestickcrosscross
Learn at your own paceticktickcross
Discuss your learning in commentstickticktick
Certificate when you're eligibleDigital onlyPrinted and digitalcross
Continue & Upgrade

Cancel for free anytime

Ways to learn

Choose the best way to learn for you!

Upgrade and unlock this entire course now

Buy this course

$79/one-off payment

Fulfill your current learning need

  • Access to this course
  • Learn at your own pace
  • Discuss your learning in comments
  • Printed and digital certificate when you’re eligible

Subscribe & save

$349.99 for one year

Automatically renews

Develop skills to further your career

  • Access to this course
  • Access to 1,000+ courses
  • Learn at your own pace
  • Discuss your learning in comments
  • Digital certificate when you're eligible

Cancel for free anytime

Start learning today

Free

Try this course - with limits

  • Limited to 4 weeks

Find out more about certificates, Unlimited or buying a course (Upgrades)

Learning on FutureLearn

Your learning, your rules

  • Courses are split into weeks, activities, and steps to help you keep track of your learning
  • Learn through a mix of bite-sized videos, long- and short-form articles, audio, and practical activities
  • Stay motivated by using the Progress page to keep track of your step completion and assessment scores

Join a global classroom

  • Experience the power of social learning, and get inspired by an international network of learners
  • Share ideas with your peers and course educators on every step of the course
  • Join the conversation by reading, @ing, liking, bookmarking, and replying to comments from others

Map your progress

  • As you work through the course, use notifications and the Progress page to guide your learning
  • Whenever you’re ready, mark each step as complete, you’re in control
  • Complete 90% of course steps and all of the assessments to earn your certificate

Want to know more about learning on FutureLearn? Using FutureLearn

Do you know someone who'd love this course? Tell them about it...