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

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心