Redirecting requests with Express

Prepare Environment

In this episode, we will redirect requests with Express

§ Fork Repository

If you have already forked the URL Shortener repository, you can skip this part. However, if your fork is created a while before, you might need to sync the upstream to get your fork updated first.

To create a new fork, visit the URL Shortener Repository. Click Fork button on the top right corner. You may need to sign-in or create a account if you don't have one already. A new fork is already updated, you don't to need to sync a fork that just created.

§ Prepare Workspace

If you have already cloned the workspace of URL Shortener series of your fork, and synced to get the fork updated. Under the workspace folder:

With any terminal shell, run the following command.

sh
git fetch origin main
git checkout tags/before-episode-1

If you never clone any workspace of URL Shortener series. Under the folder that you want to clone the workspace:

With any terminal shell, run the following command.
Replace <YOUR-USERNAME> with your username

sh
git clone https://github.com/<YOUR-USERNAME>/Url-Shortener.git --branch before-episode-1

However, if you are not willing to participate practices and collaboration, you can just clone the code from our repository.

With any terminal shell, run the following command.

sh
git clone https://github.com/SudoTVSeries/Url-Shortener.git --branch before-episode-1
This page is rendered base on this GitHub Repository
Improve this page
This page is not cached