Build a Full-Stack Server for API Requests - NodeJS and Pug

Offered By
Coursera Project Network
In this Guided Project, you will:

Send API requests using NodeJS

Set up a server using NodeJS

Display data from the backend on the front end using Pug

Clock1 hour 20 mins
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

By the end of this project, you will create a website which reports the weather for a specific city. We will learn how to use NodeJS to send API requests to Accuweather, and Pug and CSS to present the weather to the users.. We will use VSCode throughout this course. Building a full-stack website is a highly sought after skillset and this course is a great way to get started by building a simple weather website. This guided project is for anyone who is comfortable with JavaScript and has some experience with coding. Knowledge of HTML and CSS is useful, but not required. It would also be suitable for someone who is interested in building a website and is happy to follow along with the steps to get a feel for full-stack web development and will focus on the in depth knowledge after. This could be someone just beginning their coding journey, someone experienced who wants to learn NodeJS or someone who wants to build their own website which needs a server.

Skills you will develop

  • Cascading Style Sheets (CCS)
  • Application Programming Interfaces (API)
  • Pug
  • Node.Js
  • Full-Stack Web Development

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Set up your folder in VSCode  and install node packages

  2. Sign up to Accuweather API and send first API request in browser

  3. Send an API request to get the weather of a city using NodeJS

  4. Output the results in the browser

  5. Add Pug files to the front end

  6. Send an API request when a button in pressed

  7. Add additional data from the API request

  8. Add some style using CSS

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.