Building REST API Services using Deno and PostgreSQL

· Native Enterprise
3,5
2 bài đánh giá
Sách điện tử
119
Trang

Giới thiệu về sách điện tử này

This book learns about developing web services based on REST architecture using Deno. Deno is the latest server runtime environment for typescript and javascript in addition to node.js which is well known to date. Yes, deno was created by Ryan Dahl who created node.js itself, will deno be the next node.js successor? Of course there are reasons behind developing a new runtime for executing typescript and javascript.


Architecturally, for deno runtime javascript it still uses Google Engine V8 just like the previous node.js, but this time the deno was built using Rust and TypeScript languages, while node.js was built with C ++ and JavaScript. For asynchronous runtime and event driven deno use the open source library, Tokio. Deno support typescript built-in or out of the box in the sense can be used directly without having to first configure settings, unlike node.js. The use of javascript is also supported in addition to typescript. Deno is more secure than node.js, because by default deno cannot access files, environment access, network, without explicit declaration.


What is discussed in this book? Here are the points:


- Introduction and installation of deno along with visual studio code as a code editor

- Use standard modules for http servers

- Use of third party modules such as oak to handle requests, responses, and routing

- Creating a controller and routing for CRUD functionality for the postgresql database

- Using Denon to automate the compilation and deno project running

- Implementation of middleware for authentication

- Implement bcrypt module for password hashing

- Implementation of authentication using JWT

- Implementation of https server

- Refactoring module

- Repository pattern

- Access user defined functions and stored procedures in postgresql

- Bundling project

- The use of PM2 as monitoring tools

- The use of denoDB ORM


Hopefully this book can be another alternative as a source of learning exercises, tutorials, or references for those who want to learn Deno programming.

Xếp hạng và đánh giá

3,5
2 bài đánh giá

Giới thiệu tác giả

Rully Yulian MF born in Indonesia. Completed her Bachelor of Geophysical Engineering education at the Bandung Institute of Technology. The author is currently actively working as a senior trainer and one of the founders of an IT Training Center (Native Enterprise) in Bandung and has experience in teaching for 16 years.


The author is a Microsoft Most Valuable Professional (MVP) from 2009 to 2016. In addition, the author also has several Microsoft international certifications including MCAD, MCPD, MOS, MTA, and Xamarin Certified Mobile Professional. Whereas in the field of training the author has held MCT (Microsoft Certified Trainer) certification since 2008-2019.


The author also has a personal website that contains articles related to programming and other topics in accordance with the expertise of the author, please visit the website http://yulianmf.com. To contact the author can be done via email at rully@yulianmf.com account.

Xếp hạng sách điện tử này

Cho chúng tôi biết suy nghĩ của bạn.

Đọc thông tin

Điện thoại thông minh và máy tính bảng
Cài đặt ứng dụng Google Play Sách cho AndroidiPad/iPhone. Ứng dụng sẽ tự động đồng bộ hóa với tài khoản của bạn và cho phép bạn đọc trực tuyến hoặc ngoại tuyến dù cho bạn ở đâu.
Máy tính xách tay và máy tính
Bạn có thể nghe các sách nói đã mua trên Google Play thông qua trình duyệt web trên máy tính.
Thiết bị đọc sách điện tử và các thiết bị khác
Để đọc trên thiết bị e-ink như máy đọc sách điện tử Kobo, bạn sẽ cần tải tệp xuống và chuyển tệp đó sang thiết bị của mình. Hãy làm theo hướng dẫn chi tiết trong Trung tâm trợ giúp để chuyển tệp sang máy đọc sách điện tử được hỗ trợ.