Skip to content

jgay94/Deno-Web-Development

 
 

Repository files navigation

Deno Web Development

Book Name

Write, test, maintain, and deploy JavaScript and TypeScript web applications using Deno

What is this book about?

Deno is a JavaScript and TypeScript runtime with secure defaults and a great developer experience. With Deno Web Development, you’ll learn all about Deno’s primitives, its principles, and how you can use them to build real-world applications. The book is divided into three main sections: an introduction to Deno, building an API from scratch, and testing and deploying a Deno application.

This book covers the following exciting features:

  • Understand why you should use Deno
  • Get to grips with tooling and the Deno ecosystem
  • Build Deno web applications using existing Node.js knowledge and the newest ECMA Script 6 features
  • Explore the standard library and the benefit of Deno’s security model
  • Discover common practices and web frameworks to build a REST API in Deno

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Deno

Deno is a JavaScript/TypeScript runtime with secure defaults and a great developer experience.

“Getting started with Deno” will introduce Deno’s primitives, its principles, and how developers can use it to build real-world applications. The book is divided into three main sections: introducing Deno, building an API from scratch, and testing and deploying a Deno application. The first chapters present the runtime and the motivations behind its creation. It explores some of the concepts introduced by Node, why many of them transitioned into Deno, and why new features were introduced. After getting comfortable with Deno and why it was created, the reader will start to experiment with Deno, exploring the toolchain, and writing simple scripts and CLI applications. As we transition in the second section of the book, the reader will start with a very simple web application and will slowly add more features to it. This application will evolve from a simple "hello world" API to a web application connected to the database, with users, authentication, and a JavaScript client. In the meantime, topics like dependency management, configuration, testing, and application structure, among others will be addressed.

By the end of the read, the reader is comfortable in using Deno to create, maintain, and deploy secure and reliable web applications.

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

const now = new Date();
console.log(`${now.getHours()}:${now.getMinutes()}:${now.getSeconds()}`);

Following is what you need for this book: This book is for developers who want to leverage their JavaScript and TypeScript skills in a secure, simple, and modern runtime, using Deno for web app development. Beginner-level knowledge of Node.js is recommended but not required

With the following software and hardware list you can run all code files present in the book (Chapter 1-10).

Software and Hardware List

Chapter Software required OS required
2-10 Deno 1.7.5 Windows, Mac OS X, and Linux (Any)

Related products

Get to Know the Author

Alexandre Portela dos Santos is a software engineer passionate about products and startups. For the last 8+ years he's been working together with multiple companies, using technology as an enabler for ideas and businesses. With a big interest in education and getting people excited about technology, he makes sure he's always involved with people that are learning about it, being it via blog posts, books, open-source contributions, or meetups. This is, by itself, a learning adventure that Alexandre loves to be a part of. Being a true believer that great software only happens through collaboration, ownership, and teams of great people, he strives to nurture those values in every project he works in.

Index

The book is composed of 10 chapters and 3 main sections. The sections are: Introduction to Deno, Building an application, Testing and Deploying. The chapters list and direct link to code is available below.

  1. What is deno?
  2. The toolchain (https://github.com/PacktPublishing/Deno-Web-Development/tree/master/Chapter02/)
  3. Runtime and standard library (https://github.com/PacktPublishing/Deno-Web-Development/tree/master/Chapter03/)
  4. Building a web application (https://github.com/PacktPublishing/Deno-Web-Development/tree/master/Chapter04/)
  5. Adding users and migrating to oak (https://github.com/PacktPublishing/Deno-Web-Development/tree/master/Chapter05/)
  6. Adding authentication and connecting to the database (https://github.com/PacktPublishing/Deno-Web-Development/tree/master/Chapter06/)
  7. HTTPS, extracting configuration and Deno on the browser (https://github.com/PacktPublishing/Deno-Web-Development/tree/master/Chapter07/)
  8. Testing - Unit and integration (https://github.com/PacktPublishing/Deno-Web-Development/tree/master/Chapter08/)
  9. Deploying a Deno application (https://github.com/PacktPublishing/Deno-Web-Development/tree/master/Chapter09/)
  10. What's next? (https://github.com/PacktPublishing/Deno-Web-Development/tree/master/Chapter10/)

Chapter that have multiple iterations of the same application have inside a sections folder with copies of the application at each state. It should be possible to have access to the code

About

Deno Web Development, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.8%
  • HTML 7.5%
  • Other 0.7%