|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/restful-setup-node-api/
课程评论:没有评论
Node.js RESTful API 入门教程 本课程专为初学者设计,旨在帮助您从零开始搭建一个完整的 RESTful API。课程内容涵盖: * **环境搭建:** 使用 Node.js 和 NPM 搭建本地服务器,介绍常用 NPM 包(如 nodemon, express, bodyParser, sqlite3)的使用。 * **核心概念:** 深入理解 Node.js 模块化开发、HTTP 服务器搭建、文件读写等基础知识。 * **Express 框架:** 学习如何利用 Express 框架快速构建 Web 应用,包括路由设计、中间件应用等。 * **CRUD 操作:** 实现 RESTful API 的核心功能,即 GET, POST, PUT, DELETE 请求,并学习如何处理前端 AJAX 请求(使用 jQuery)。 * **数据处理:** 利用 Body Parser 解析 POST 请求数据,并学习如何使用 SQLite 数据库存储和管理数据。 * **前后端交互:** 结合 HTML, CSS, JavaScript (jQuery) 构建前端页面,实现动态数据显示和与后端 API 的交互。 * **实践应用:** 课程提供完整的源代码和分步指导,包含创建登录验证逻辑、处理静态前端文件等实战内容。 本课程强调实践,通过构建一个简单的 Web 应用,帮助您熟练掌握 Node.js RESTful API 开发的关键技术。课程提供所有必要的资源和源代码,并有经验丰富的讲师随时解答您的疑问。 **技术栈:** * **后端:** Node.js, Express, Nodemon * **前端:** HTML, CSS, JavaScript, jQuery (AJAX) * **数据库:** SQLite * **工具:** Brackets (编辑器), Chrome DevTools (调试)
Perfect course for beginners to explore how to setup a Restful API! GET, POST, PUT, DELETE This starter course demonstrates how to setup a Restful API from scratch. Using just your local computer you can follow the step by step lessons to setup your own local server and run JavaScript code. JavaScript experience is required - This course is designed for students who want to learn about node.js and how to create projects with Node. Its perfect for anyone who wants to practice coding by building out a simple web application. Learn everything you need to setup a localhost, resources to work with node, setup a SQLite database, setup routes for CRUD and a whole lot more. All the resources are provided along with source code to get you started quickly Technology used within the course: Front end AJAX requests will be using jQuery AJAXFront end web page dynamic elements from JSON data using jQueryHTML and CSS for presentation of front end applicationNodeJS will be used for back end serverNPM packages include nodemon, express, bodyParser, sqlite3Database is at the end using SQLite - SQLite setup files are included*Editor Brackets Browser Chrome DevToolsJavaScript for everything else.... Lessons cover the following: Explore how the terminal can be used to setup a backend server using Node.js. Command line interface simple commands will be used to navigate and seutp folders.Introduction to the Node Package Manager and how you can use it to get pre built code and bring it easily into your projects.Create your start files and learn how you can run node.js filesexplore Node modules and how they work into your main app fileLearn how to setup an http server using node ready for localhostExplore getting file content and reading it as dataPower Up your node application with Express and NodemonAPI web resources Postman CRUDUse Body Parser to get post dataFind out how Middleware app use worksApply logic with conditional statement to create a login check Setup your application for static frontend files index.htmlGet back to the frontend with JavaScript and html. bringing both togetherRequests and responses to the server and webpageSetup your routes for a Restful API GET POST PUT DELETEUse data to output to pageCode refactoring with a helper fileUpdating with adding a SQLite Database to hold data Source code is included to get you started quickly Step by step instruction, with friendly help always available in the Q & A section Taught by an instructor with many years of web development experience, ready to help you learn What are you waiting for join now and learn to setup your own RestFul API. RESTful: Representational State Transfer (REST) When HTTP is used, as is most common, the operations available are GET, POST, PUT, DELETE, and other predefined CRUD HTTP methods.