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.
- ✅ Shorten any long URL / Herhangi bir uzun URL’yi kısaltma
- ✅ Store data in local
JSON
file / Verileri yerelJSON
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ü

.
├── 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ı
- Clone the repository / Repoyu klonlayın
git clone https://github.com/hsynadguzel/url-shortener.git
cd url-shortener
- Install dependencies / Bağımlılıkları yükleyin
npm install
- Start the application / Uygulamayı başlatın
node app.js
Uygulama şu adreste çalışacaktır: http://localhost:5001
- 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ı
Created by Hüseyin If you like this project, please ⭐ the repository! Bu projeyi beğendiyseniz, repoya ⭐ vererek destek olabilirsiniz!