/url-shortner-redis

URL shortener that uses Redis

Primary LanguageJavaScript

Node Express EJS Redis URL Shortener

This is a simple URL shortener project built with Node.js, Express, EJS, and Redis.

Setup

  1. Clone the repository:
git clone https://github.com/Aragorn-64/url-shortner-redis
  1. Install dependencies:
npm install
  1. Start Redis server:

Make sure Redis is installed on your machine. If you don't have Redis installed, download and install it from redis.io.

Start Redis server on the default port (6379):

redis-server
  1. Start the application:
npm start
  1. Open your web browser and navigate to http://localhost:5000 to access the URL shortener.

Usage

  1. Enter the URL you want to shorten in the text box and click on the "Shorten" button.
  2. The shortened URL will be displayed on the page.
  3. Click on the shortened URL to go to the original URL.

License

This project is licensed under the MIT License. See the LICENSE file for details. This readme was written with ChatGPT :)