Skip to content

This is a simple URL shortener application built with Node.js, Express, and EJS. The app shortens long URLs and stores them in a local JSON file.

Notifications You must be signed in to change notification settings

hsynadguzel/URL-SHORTENER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 URL Shortener / URL Kısaltıcı

This is a simple URL shortener application built with Node.js, Express, and EJS. The app shortens long URLs and stores them in a local JSON file.

Bu, Node.js, Express ve EJS ile geliştirilmiş basit bir URL kısaltma uygulamasıdır. Uygulama, uzun URL'leri kısaltır ve yerel bir JSON dosyasında saklar.


🚀 Features / Özellikler

  • ✅ Shorten any long URL / Herhangi bir uzun URL’yi kısaltma
  • ✅ Store data in local JSON file / Verileri yerel JSON dosyasında saklama
  • ✅ Track click counts / Tıklanma sayısını takip etme
  • ✅ Timestamp of shortened URL / URL’nin oluşturulma tarihini görüntüleme
  • ✅ Beautiful UI with EJS / EJS ile şık kullanıcı arayüzü

📸 Screenshot / Ekran Görüntüsü

Ekran Resmi 2025-04-25 16 23 52

📁 Project Structure / Proje Yapısı

.
├── app.js                 # Main application file / Ana uygulama dosyası
├── controllers/           # Route controllers / Yönlendirme kontrol dosyaları
├── data/                  # JSON storage files / JSON veri dosyaları
├── models/                # Data models / Veri modelleri
├── public/                # Static files (CSS, JS) / Statik dosyalar
├── routes/                # Express routes / Express yönlendirmeleri
├── utils/                 # Utility functions / Yardımcı fonksiyonlar
└── views/                 # EJS view templates / EJS görünüm şablonları

▶️ How to Run / Uygulamayı Çalıştırma

  1. Clone the repository / Repoyu klonlayın
git clone https://github.com/hsynadguzel/url-shortener.git

cd url-shortener
  1. Install dependencies / Bağımlılıkları yükleyin
npm install
  1. Start the application / Uygulamayı başlatın
node app.js

📌 The application will run at:

Uygulama şu adreste çalışacaktır: http://localhost:5001


🛠 Technologies Used / Kullanılan Teknolojiler

  • Node.js
  • Express.js
  • EJS
  • Bootstrap (for basic styling / temel stil için)
  • Local JSON file for data storage / Veri saklama için yerel JSON dosyası

📬 Contact / İletişim

Created by Hüseyin If you like this project, please ⭐ the repository! Bu projeyi beğendiyseniz, repoya ⭐ vererek destek olabilirsiniz!

About

This is a simple URL shortener application built with Node.js, Express, and EJS. The app shortens long URLs and stores them in a local JSON file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published