URL Shortener: TypeScript, PostgreSQL, Koa.Js, REST and MVC
Master Modern Web Development by Building a Robust URL Shortening Service with Cutting-Edge TechnologiesWhat you'll learn
- Understand URL shortener services and their benefits
- Get familiar with key technologies: Knex, TypeScript, and Koa, JWT, Hashing
- 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