NodeJs: um guia prático para iniciantes - construção de API da Web de comércio eletrônico

O que é Node.js?

Node.js ou Node é um ambiente de tempo de execução para executar código JavaScript fora do navegador. É ideal para criar serviços de back-end ( APIs ) altamente escaláveis ​​e com uso intensivo de dados que oferecem suporte a aplicativos de clientes (web ou móveis) .

Por que aprender Node?

O Node é ótimo para prototipagem e desenvolvimento ágil e para criar aplicativos ultrarrápidos e altamente escaláveis; empresas como Uber e PayPal usam o Node na produção para criar aplicativos porque requer menos pessoas e menos código. Além disso, o Node possui o maior ecossistema de bibliotecas de código aberto, portanto, você não precisa criar tudo do zero.

O que você aprenderá: Crie serviços RESTful (APIs) com confiança usando Node.js, Express.js e MongoDB Atlas, adotando as práticas recomendadas de Node.js

  • sistema de módulo de nó

  • Gerenciador de pacotes de nós (NPM)

  • JavaScript assíncrono

  • Recursos úteis do ES6+

  • Implementar operações CRUD

  • Armazenando dados complexos no MongoDB

  • verificação de dados

  • Autenticação e autorização

  • papel do usuário

  • Manipule e registre erros da maneira certa

  • implantar

.
├── 1. Introduction
│   ├── 1. Introduction (5).srt
│   ├── 1. Introduction.mp4
│   ├── 1. Introduction.srt
│   ├── 2. Overview to our RESTful API.mp4
│   ├── 2. Overview to our RESTful API.srt
│   ├── 3. Pickup Your Task and We Review it - How this course is interactive.mp4
│   ├── 3. Pickup Your Task and We Review it - How this course is interactive.srt
│   ├── 4. Join Students Tasks Board - Invitation Link + Git Repo.html
│   ├── 4.1 How to Create PR's in Github.html
│   ├── 4.2 The Git Repository of the Course.html
│   └── 4.3 Invitation to the Task Board.html
├── 2. Tools and Environment
│   ├── 1. Installing NodeJs.mp4
│   ├── 1. Installing NodeJs.srt
│   ├── 2. Installing our Coding Editor (IDE) + Extensions.mp4
│   ├── 2. Installing our Coding Editor (IDE) + Extensions.srt
│   ├── 3. Installing PostMan to Test our API's.mp4
│   ├── 3. Installing PostMan to Test our API's.srt
│   ├── 4. Configure MongoDB Atlas.mp4
│   └── 4. Configure MongoDB Atlas.srt
├── 25.txt
├── 3. Preparing the API Server
│   ├── 1. Introduction (4).srt
│   ├── 1. Introduction.mp4
│   ├── 1. Introduction.srt
│   ├── 10. Create Backend API Routes & Schemas.mp4
│   ├── 10. Create Backend API Routes & Schemas.srt
│   ├── 11. Enabling CORS & Why Do We Need It.mp4
│   ├── 11. Enabling CORS & Why Do We Need It.srt
│   ├── 12. Section Code.html
│   ├── 12.1 initial-eshop-backend.zip
│   ├── 2. File Structure.mp4
│   ├── 2. File Structure.srt
│   ├── 3. Creating the Backend Server with Express.mp4
│   ├── 3. Creating the Backend Server with Express.srt
│   ├── 4. Reading Environment Variables.mp4
│   ├── 4. Reading Environment Variables.srt
│   ├── 5. Create First API Call & Parsing Json Data.mp4
│   ├── 5. Create First API Call & Parsing Json Data.srt
│   ├── 6. Logging API Requests.mp4
│   ├── 6. Logging API Requests.srt
│   ├── 7. Installing Mongoose and Connect to MongoDB Database.mp4
│   ├── 7. Installing Mongoose and Connect to MongoDB Database.srt
│   ├── 8. ReadWrite Data to Database Using API.mp4
│   ├── 8. ReadWrite Data to Database Using API.srt
│   ├── 9. Analysing the E-Shop Database.mp4
│   └── 9. Analysing the E-Shop Database.srt
├── 4. Products & Categories
│   ├── 1. Introduction.mp4
│   ├── 1. Introduction.srt
│   ├── 10. Update a Product REST API.mp4
│   ├── 10. Update a Product REST API.srt
│   ├── 11. Delete a Product REST API and Validate Id.mp4
│   ├── 11. Delete a Product REST API and Validate Id.srt
│   ├── 12. Get Products Count for Statistics Purposes.mp4
│   ├── 12. Get Products Count for Statistics Purposes.srt
│   ├── 13. Get Featured Products REST API.mp4
│   ├── 13. Get Featured Products REST API.srt
│   ├── 14. Filtering and Getting Products by Category.mp4
│   ├── 14. Filtering and Getting Products by Category.srt
│   ├── 15. Changing _id key to id - more frontend friendly.mp4
│   ├── 15. Changing _id key to id - more frontend friendly.srt
│   ├── 16. Section Code.html
│   ├── 16.1 backend-products.zip
│   ├── 2. Products Model & Scheme.mp4
│   ├── 2. Products Model & Scheme.srt
│   ├── 3. Categories Model & Scheme.mp4
│   ├── 3. Categories Model & Scheme.srt
│   ├── 4. Add and Delete Categories.mp4
│   ├── 4. Add and Delete Categories.srt
│   ├── 5. Get Categories and Category Details.mp4
│   ├── 5. Get Categories and Category Details.srt
│   ├── 6. Update Category.mp4
│   ├── 6. Update Category.srt
│   ├── 7. Post a New Product REST API.mp4
│   ├── 7. Post a New Product REST API.srt
│   ├── 8. Get a Product & List of Products REST API.mp4
│   ├── 8. Get a Product & List of Products REST API.srt
│   ├── 9. Population of Category in Get a Product API.mp4
│   └── 9. Population of Category in Get a Product API.srt
├── 5. Users & Authentication
│   ├── 1. Introduction (3).srt
│   ├── 1. Introduction.mp4
│   ├── 1. Introduction.srt
│   ├── 10. Add More Secret User Information to Token.mp4
│   ├── 10. Add More Secret User Information to Token.srt
│   ├── 11. Users & Admins - User Role.mp4
│   ├── 11. Users & Admins - User Role.srt
│   ├── 12. Get User Count REST API.mp4
│   ├── 12. Get User Count REST API.srt
│   ├── 13. Section Code.html
│   ├── 13.1 backend-users.zip
│   ├── 2. Users Model & Schema.mp4
│   ├── 2. Users Model & Schema.srt
│   ├── 3. PostRegister a New User REST API.mp4
│   ├── 3. PostRegister a New User REST API.srt
│   ├── 4. Hashing the User Password.mp4
│   ├── 4. Hashing the User Password.srt
│   ├── 5. Get User and List of Users Excluding Password.mp4
│   ├── 5. Get User and List of Users Excluding Password.srt
│   ├── 6. Login a User REST API & Creating a Token.mp4
│   ├── 6. Login a User REST API & Creating a Token.srt
│   ├── 7. Protecting the API and Authentication JWT Middleware.mp4
│   ├── 7. Protecting the API and Authentication JWT Middleware.srt
│   ├── 8. Authentication Error Handling.mp4
│   ├── 8. Authentication Error Handling.srt
│   ├── 9. Excluding REST API Routes From Authentication.mp4
│   └── 9. Excluding REST API Routes From Authentication.srt
├── 6. Orders
│   ├── 1. Introduction (1).srt
│   ├── 1. Introduction.mp4
│   ├── 1. Introduction.srt
│   ├── 10. Get Total E-Shop Sales using $sum.mp4
│   ├── 10. Get Total E-Shop Sales using $sum.srt
│   ├── 11. Get User Orders.mp4
│   ├── 11. Get User Orders.srt
│   ├── 12. Section Code.html
│   ├── 12.1 backend-orders.zip
│   ├── 2. Orders & Order-Items Model & Scheme.mp4
│   ├── 2. Orders & Order-Items Model & Scheme.srt
│   ├── 3. Array of Refs - Example of Link Order to Order Items to Products.mp4
│   ├── 3. Array of Refs - Example of Link Order to Order Items to Products.srt
│   ├── 4. New Order & Create Order Items on Posting New Order.mp4
│   ├── 4. New Order & Create Order Items on Posting New Order.srt
│   ├── 5. Get Order Detail and Populate Products in Order Items and User Data.mp4
│   ├── 5. Get Order Detail and Populate Products in Order Items and User Data.srt
│   ├── 6. Update Order Status & Delete Order.mp4
│   ├── 6. Update Order Status & Delete Order.srt
│   ├── 7. Delete Order Items after Deleting the Order.html
│   ├── 8. Explaining the Solution.mp4
│   ├── 8. Explaining the Solution.srt
│   ├── 9. Calculating Total Price of one Order.mp4
│   └── 9. Calculating Total Price of one Order.srt
├── 7. Product Image & Gallery Upload
│   ├── 1. Introduction (2).srt
│   ├── 1. Introduction.mp4
│   ├── 1. Introduction.srt
│   ├── 2. Configure Server Side Upload.mp4
│   ├── 2. Configure Server Side Upload.srt
│   ├── 3. Testing Image Upload with Postman.mp4
│   ├── 3. Testing Image Upload with Postman.srt
│   ├── 4. Validating Uploaded File Types.mp4
│   ├── 4. Validating Uploaded File Types.srt
│   ├── 5. Image Upload With Product Post Request.mp4
│   ├── 5. Image Upload With Product Post Request.srt
│   ├── 6. Product Gallery Multiple Images Upload.mp4
│   ├── 6. Product Gallery Multiple Images Upload.srt
│   ├── 7. Excluding Uploads Folder From Authentication.mp4
│   ├── 7. Excluding Uploads Folder From Authentication.srt
│   ├── 8. Section Code.html
│   └── 8.1 full-backend.zip
└── 8. What is Next
    └── 1. Next Steps.html

8 directories, 146 files

Acho que você gosta

Origin blog.csdn.net/onebound_linda/article/details/131786528
Recomendado
Clasificación