Skip to content

Commit e6c7f85

Browse files
Merge pull request #8 from recursivezero/feature/RTY-260006
RTY-260006
2 parents 50df832 + 3e17802 commit e6c7f85

30 files changed

+1322
-1981
lines changed

.env.local

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
DOMAIN="https://rzro.link"
1+
MODE=local
2+
MONGO_URI=mongodb://<username>:<password>@127.0.0.1:27017/?authSource=admin&retryWrites=true&w=majority
3+
DOMAIN=https://rzro.link
24
PORT=8001
3-
API_VERSION="/api/v1"
5+
API_VERSION=""
46

57
MONGO_URI="mongodb://localhost:27017/?retryWrites=true&w=majority&appName=tiny"
68
DATABASE_NAME="tiny"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ __pycache__/
33
*.pyo
44
*$py.class
55

6-
6+
.venv*
77
venv/
88
env/
99
.venv*

README.md

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# 🔗 tiny URL Generator
22

3-
> A modern, Bitly-style tiny URL web application built with Flask, FastAPI & MongoDB
3+
> A modern, Bitly-style tiny URL web application built with FastAPI & MongoDB
44
55
![Python](https://img.shields.io/badge/Python-3.10-blue.svg)
6-
![Flask](https://img.shields.io/badge/Flask-Web%20Framework-black.svg)
76
![MongoDB](https://img.shields.io/badge/Database-MongoDB-green.svg)
87
![License](https://img.shields.io/badge/License-MIT-yellow.svg)
98
![Status](https://img.shields.io/badge/Status-Active-success.svg)
@@ -12,12 +11,11 @@
1211

1312
## 📌 Overview
1413

15-
**tiny URL** is a sleek, fast, and modern URL shortening platform built using **Flask**, **FastAPI**, and **MongoDB**.
14+
**tiny URL** is a sleek, fast, and modern URL shortening platform built using **FastAPI**, and **MongoDB**.
1615
It converts long URLs into short, shareable links — just like Bitly.
1716

1817
The project supports both:
1918

20-
- 🌐 **Flask Web UI** (end users)
2119
- 🚀 **FastAPI REST API** (developers / integrations)
2220

2321
---
@@ -37,7 +35,6 @@ The project supports both:
3735
- Mobile-friendly QR Codes
3836
- Fully responsive design
3937
- Recent URLs page
40-
- Glassmorphism UI
4138

4239
---
4340

@@ -75,17 +72,15 @@ def generate_code(length=6):
7572

7673
🗃️ Tech Stack
7774

78-
| Layer | Technology |
79-
| ----------- | -------------------------- |
80-
| UI Backend | Flask |
81-
| API Backend | FastAPI |
82-
| Database | MongoDB |
83-
| Frontend | HTML, CSS, Vanilla JS |
84-
| UI Style | Glassmorphism, Gradient UI |
85-
| API Server | Uvicorn |
86-
| Validation | Pydantic v2 |
87-
| CLI | Click |
88-
| Data | JSON |
75+
| Layer | Technology |
76+
| ----------- | --------------------- |
77+
| API Backend | FastAPI |
78+
| Database | MongoDB |
79+
| Frontend | HTML, CSS, Vanilla JS |
80+
| API Server | Uvicorn |
81+
| Validation | Pydantic v2 |
82+
| CLI | Click |
83+
| Data | JSON |
8984

9085
📁 Project Folder Structure
9186

@@ -236,14 +231,14 @@ Response:
236231

237232
Screenshots:
238233
Home Page:
239-
![home page](app/assets/images/home.png)
240-
![home dark mode](app/assets/images/home_dark.png)
241-
![home page](app/assets/images/valid.png)
242-
![home layout](app/assets/images/short_url.png)
243-
![recent](app/assets/images/recent.png)
234+
![home page](./assets/images/home.png)
235+
![home dark mode](./assets/images/home_dark.png)
236+
![home page](./assets/images/valid.png)
237+
![home layout](./assets/images/short_url.png)
238+
![recent](./assets/images/recent.png)
244239
tiny API Page:
245-
![API](app/assets/images/API_page.png)
246-
![API1](app/assets/images/api_page2.png)
240+
![API](./assets/images/API_page.png)
241+
![API1](./assets/images/api_page2.png)
247242

248243
📜License
249244

0 commit comments

Comments
 (0)