https://github.com/betterstack-community/fastify-url-shortener
A URL Shortener Application Built with Fastify
https://github.com/betterstack-community/fastify-url-shortener
Last synced: 20 days ago
JSON representation
A URL Shortener Application Built with Fastify
- Host: GitHub
- URL: https://github.com/betterstack-community/fastify-url-shortener
- Owner: betterstack-community
- Created: 2024-07-28T20:03:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T10:07:53.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T21:44:37.889Z (over 1 year ago)
- Language: JavaScript
- Size: 209 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# URL Shortener
A URL Shortener Application built with Node.js, Fastify and PostgreSQL. See the
[final branch](https://github.com/betterstack-community/node-url-shortener/tree/final)
for the updated code with Docker configuration.
**Tutorial**:
[A Comprehensive Guide to Dockerizing Node.js Applications](https://betterstack.com/community/guides/scaling-nodejs/dockerize-nodejs/)

## 🟢 Prerequisites
- Prior Node.js development experience.
- Familiarity with the Linux command-line.
- Access to a Linux machine with
[Docker Engine](https://docs.docker.com/engine/install/) installed.
## Getting started
Find the set up instructions in
[step 1 of the article](https://betterstack.com/community/guides/scaling-nodejs/dockerize-nodejs/#step-1-setting-up-the-demo-project).
## How to use
- Enter a URL into the input field and click **Shorten!**. The shortened URL
will be displayed on the page.
- Click the **Visit** button to open the shortened URL in a new tab. It should
redirect you to the original URL.