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

提供方
Coursera Project Network
在此指導項目中,您將:

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
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

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.

您要培養的技能

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

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  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

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心