This is a simple URL shortener project built with Node.js, Express, EJS, and Redis.
- Clone the repository:
git clone https://github.com/Aragorn-64/url-shortner-redis
- Install dependencies:
npm install
- 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
- Start the application:
npm start
- Open your web browser and navigate to http://localhost:5000 to access the URL shortener.
- Enter the URL you want to shorten in the text box and click on the "Shorten" button.
- The shortened URL will be displayed on the page.
- Click on the shortened URL to go to the original URL.
This project is licensed under the MIT License. See the LICENSE file for details. This readme was written with ChatGPT :)