Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Build a Custom URL Shortener Service

Traversy Media via YouTube

Overview

Learn to build a custom URL shortener service using Node.js, Express, and MongoDB in this 34-minute tutorial. Create an API that stores long URLs, generates short codes, and manages the redirection process. Follow along to set up the development environment, establish a MongoDB connection, define the URL schema, and implement the necessary routes. Gain hands-on experience in creating a production-ready application similar to popular services like Bitly. Perfect for developers looking to enhance their skills in building practical web applications with modern technologies.

Syllabus

Intro
Project Overview
MongoDB Setup
NPM Setup
Express Setup
Production Setup
MongoDB Connection
URL Schema
Router
Valid URL
Making a Request
Creating a Route

Taught by

Traversy Media

Reviews

Start your review of Build a Custom URL Shortener Service

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.