Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Url Shortener: Typescript, Postgresql, Koa, Rest And Mvc.

Posted By: ELK1nG
Url Shortener: Typescript, Postgresql, Koa, Rest And Mvc.

Url Shortener: Typescript, Postgresql, Koa, Rest And Mvc.
Published 4/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.98 GB | Duration: 4h 51m

Master Modern Web Development by Building a Robust URL Shortening Service with Cutting-Edge Technologies

What you'll learn

Understand URL shortener services and their benefits

Get familiar with key technologies: Knex, TypeScript, and Koa

Set up the development environment and configure project tools

Establish a database connection and configure Knex instance

Create and manage database migrations

Implement a services layer in your project

Validate objects and handle exceptions with custom libraries

Understand HTTP status codes and operational vs non-operational errors

Create an authentication service

Hash passwords and store them securly

Learn about JWT tokens and implement token issuance and validation

Set up Koa server, middlewares, and routers for API handling

Protect your Koa router with authentication middlewares

Test API endpoints with Postman

Requirements

Basic understanding of programming concepts and JavaScript language.

Familiarity with Nodejs and npm (Node Package Manager) for managing packages.

Some experience with databases, particularly relational databases, and SQL.

A basic understanding of RESTful API concepts and JSON data format.

An understanding of MVC (Model-View-Controller) design pattern is helpful but not required.

Description

Dive into modern web development as you build a feature-rich URL Shortening Service from the ground up. This comprehensive course is designed to provide you with a thorough understanding of TypeScript, PostgreSQL, Koa, REST, and the MVC design pattern, as well as practical experience in applying these technologies and concepts to a real-world project.In this course, you will start by setting up your development environment and configuring the required tools for an optimal workflow. You will then dive into database configuration and management using PostgreSQL, learning how to create and execute migrations to set up your database schema. The course also covers the use of TypeScript to create efficient and scalable models that interact with the database, as well as the implementation of services to handle URL-related operations and other application logic.As you progress through the course, you'll explore user authentication and authorization, covering topics such as user registration, password hashing, and JWT-based authentication for secure access to protected resources. You will also learn how to develop a RESTful API using the Koa web framework and Koa Router, creating routes and middleware for various application functionalities.Throughout the course, you will be guided by hands-on examples and practical exercises that will reinforce your understanding of the topics covered. By the end of this course, you'll have developed a solid foundation in modern web development technologies, enabling you to create efficient and robust applications using TypeScript, PostgreSQL, Koa, and the MVC design pattern. With a completed URL Shortening Service project to showcase, you'll be well-prepared to tackle future web development challenges with confidence and expertise

Overview

Section 1: Introduction

Lecture 1 Introduction

Section 2: Environment Setup

Lecture 2 Environment Setup Part 1

Lecture 3 Environment Setup Part 2

Section 3: Database and Migrations (Model Layer)

Lecture 4 Database Configuration

Lecture 5 Environment Variables

Lecture 6 Migrations Overview

Lecture 7 Users Migration

Lecture 8 URLs and Visits Migrations

Lecture 9 Testing Knex

Lecture 10 TypeScript Models

Section 4: Building the Application Logic (Controller Layer)

Lecture 11 URL Service Part 1

Lecture 12 URL Service Part 2

Lecture 13 Validation Part 1

Lecture 14 Validation Part 2

Lecture 15 Validation Part 3

Lecture 16 Exceptions Throwing

Lecture 17 Visits Handling

Section 5: User Authentication and Authorization

Lecture 18 User Registration

Lecture 19 Password Hashing

Lecture 20 User Login

Lecture 21 JWT (JSON Web Tokens)

Section 6: Building the API with Koa (View Layer)

Lecture 22 Koa Introduction

Lecture 23 Koa Router

Lecture 24 Authentication Router

Lecture 25 Authentication Middleware

Lecture 26 URLs Router

Lecture 27 Visits and Redirect

Lecture 28 Koa V.S Express

Section 7: Course Wrap-up

Lecture 29 Finale

Aspiring web developers who want to learn about building RESTful APIs using modern technologies and best practices.,JavaScript developers interested in expanding their skill set to include TypeScript, Koa, and Knex.,Developers who want to build scalable and efficient URL shortener services or similar applications.,Individuals interested in learning about MVC design patterns and how to apply them in real-world projects.,Developers looking to deepen their understanding of authentication, JWT tokens, and secure API implementation.,Web development enthusiasts who want to enhance their knowledge of database management, migrations, and object validation.,Professionals aiming to build a portfolio project demonstrating their proficiency in full-stack web development.