자료유형 | 단행본 |
---|---|
서명/저자사항 | Learn Node.js by Building 6 Projects : Build six practical and instructive Node.js projects/ Eduonix Learning Solution Pvt. Ltd. |
단체저자명 | Eduonix Learning Solutions. |
발행사항 | Birmingham: Packt Publishing, 2018. |
형태사항 | 1 online resource (310 pages). |
기타형태 저록 | Print version: Learning Solution Pvt. Ltd, Eduonix. Learn Node.js by Building 6 Projects : Build six practical and instructive Node.js projects. Birmingham : Packt Publishing, 짤2018 |
ISBN | 9781788295925 1788295927 |
일반주기 |
Table of ContentsSimple Web ServerBasic Express WebsiteUser Login SystemNode Blog SystemChat IOE-learning system.
|
내용주기 | Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: A Simple Web Server; Installing Node.js; Installing the Git Bash tool; Introduction to NPM and a basic HTTP server; Serving HTML pages; A basic website; A basic website using Bootstrap; Summary; Chapter 2: A Basic Express Website; Understanding Express; Installing Express; Exploring the app.js file; Pages routes and views; Setting up View; Back to basics; id and classes; Nesting; Text; Adding Layouts; Using Bootstrap -- Jumbotron; Creating the Home page view; Passing variable to view. Creating an About page viewThe Nodemailer contact form; More about the basic website; Summary; Chapter 3: The User Login System; Getting started with MongoDB -- part A; Installing MongoDB; Getting started with MongoDB -- part B; Data fetching from the shell; Create, read, update, and delete using MongoDB; App and middleware setup; Middleware for sessions; Middleware for messages; Views and layouts; Index; Creating a form; Creating the login view; The register form and validation; Models and user registration; Password hashing with bcrypt; Installing bcrypt; Passport login authentication. Logout and access controlSummary; Chapter 4: The Node Blog System; App and module setup; A custom layout template; Homepage posts display; Adding posts; Text editor and adding categories; Truncating text and categories view; Single post and comments; Summary; Chapter 5: ChatIO; The ChatIO user interface; Setting up the ChatIO UI; Sending chat messages; Creating the Node.js server; User functionality; Deploying an app with Heroku; Summary; Chapter 6: E-Learning Systems; The app and HTML Kickstart setup; Setting up an application using Express Generator; Configuring the app.js file. Configuring the views directoryRunning the setup in the browser; Implementing our layout; Configuring the title and header in the layout; Configuring the body in the layout; Configuring the paragraph; Configuring the sidebar; Configuring hr; Configuring the footer in the layout; The final application; Fetching classes -- part A; Setting up partials; Adding some classes; Creating a class model; Fetch all classes; Fetch single classes; Working on the GET home page route; Fetching classes -- part B; Setting up new route file -- classes.js; Creating the index.handlebars file for the classes page. Configuring classes.js for the class details pageCreating details.handlebars for the class details page; Registering users; Creating a user model; Get User by Id; Get User by Username; Create Student User; Create Instructor User; Compare Password; Configuring User Register; Configuring the register.handlebars file; Creating the student model; Creating the instructor model; Configuring the users.js file; Testing the app for the errors; Creating different objects in user.js for user collection; Creating the new student object; Creating the new instructor object. |
요약 | This book contains 6 advanced Node.js projects. This book is your perfect companion to learn Node.js server programming in a very practical manner, by implementing 6 carefully hand-picked, real-world projects. |
일반주제명 | COMPUTERS / Programming / General JavaScript (Computer program language) Web applications. Application software --Development. Computers --Programming Languages --JavaScript. Web services. Programming & scripting languages: general. Computers --Web --Web Programming. Web programming. Application software --Development. Web applications. |
언어 | 영어 |
바로가기 |