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

von
Coursera Project Network
In diesem angeleitetes Projekt werden Sie:

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
IntermediateMittel
CloudKein Download erforderlich
VideoVideo auf geteiltem Bildschirm
Comment DotsEnglisch
LaptopNur Desktop

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.

Kompetenzen, die Sie erwerben werden

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

Schritt für Schritt lernen

In einem Video, das auf einer Hälfte Ihres Arbeitsbereichs abgespielt wird, führt Sie Ihr Dozent durch diese Schritte:

  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

Ablauf angeleiteter Projekte

Ihr Arbeitsbereich ist ein Cloud-Desktop direkt in Ihrem Browser, kein Download erforderlich

Ihr Dozent leitet Sie in einem Video mit geteiltem Bildschirm Schritt für Schritt an.

Häufig gestellte Fragen

Häufig gestellte Fragen

Haben Sie weitere Fragen? Besuchen Sie das Learner Help Center.