Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
629adcc
docs: updated the readme
Suraj-Encoding Dec 31, 2025
d832b1e
docs: updated the readme
Suraj-Encoding Dec 31, 2025
991b3d7
feat: added the example env for client
Suraj-Encoding Dec 31, 2025
14a0044
docs: updated the readme
Suraj-Encoding Dec 31, 2025
85c91f9
docs: updated the readme
Suraj-Encoding Dec 31, 2025
d7588ef
removed footer compoment
Suraj-Encoding Dec 31, 2025
ce93b18
env updated
Suraj-Encoding Dec 31, 2025
a28fb8a
feat: converted next js from ts to js
Suraj-Encoding Dec 31, 2025
27656c8
feat: converted next js from ts to js
Suraj-Encoding Dec 31, 2025
90cbb2d
added css
Suraj-Encoding Dec 31, 2025
2735d95
allow headers patch
Suraj-Encoding Dec 31, 2025
2ad4870
api patch for list
Suraj-Encoding Dec 31, 2025
25aba3d
user username update patch
Suraj-Encoding Jan 1, 2026
c03da21
create link slug patch
Suraj-Encoding Jan 1, 2026
1f801f9
removed unwanted error logs
Suraj-Encoding Jan 1, 2026
c3b0566
removed unwanted error logs
Suraj-Encoding Jan 1, 2026
3d76f93
action user patch
Suraj-Encoding Jan 1, 2026
700b323
get users sort
Suraj-Encoding Jan 1, 2026
9cc715d
get links sort
Suraj-Encoding Jan 1, 2026
cc8d5a9
update link patch
Suraj-Encoding Jan 1, 2026
712695f
readme updated
Suraj-Encoding Jan 1, 2026
dcaf983
updated the docker, git, and env files
Suraj-Encoding Jan 1, 2026
9feb598
fronend refactor
Suraj-Encoding Jan 1, 2026
6cf8fd2
refactor api.js
Suraj-Encoding Jan 1, 2026
f77f298
updated globals css
Suraj-Encoding Jan 1, 2026
a4de0a9
links len patch
Suraj-Encoding Jan 1, 2026
1788f7d
api error logging
Suraj-Encoding Jan 1, 2026
15bdeee
api error logging
Suraj-Encoding Jan 1, 2026
fea146b
api error logging
Suraj-Encoding Jan 1, 2026
4c6bbe4
navbar upgrade
Suraj-Encoding Jan 1, 2026
f3f131b
metadata constant change
Suraj-Encoding Jan 1, 2026
0b2b579
added 2 logos for theme
Suraj-Encoding Jan 1, 2026
5905806
added 2 logos for theme
Suraj-Encoding Jan 1, 2026
e893e8e
navbar logo handling based on them
Suraj-Encoding Jan 1, 2026
6895c03
code refactor
Suraj-Encoding Jan 1, 2026
be8abe1
toast and dialoag patch
Suraj-Encoding Jan 1, 2026
5da2306
handle success toasts
Suraj-Encoding Jan 1, 2026
8237ad2
dashboard fixes
Suraj-Encoding Jan 1, 2026
86a2e29
pkg json update
Suraj-Encoding Jan 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Client/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Docker Ignore Files ##

# 'OS Waste' File
*.DS_Store

# 'VSCode Waste' File
*.vscode
14 changes: 14 additions & 0 deletions Client/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## (Example) Environment Variables ##

# Shortify Server 'Base URL'
NEXT_PUBLIC_SHORTIFY_SERVER_BASE_URL = "Your_Shortify_Server_Base_URL"

# Clerk 'Service'
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY = "Your_Clerk_Publishable_Key"
CLERK_SECRET_KEY = "Your_Clerk_Secret_Key"

# Clerk 'Routes'
NEXT_PUBLIC_CLERK_SIGN_IN_URL = "/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL = "/sign-up"
NEXT_PUBLIC_CLERK_SIGN_UP_FALLBACK_REDIRECT_URL = "/"
NEXT_PUBLIC_CLERK_SIGN_IN_FALLBACK_REDIRECT_URL = "/"
2 changes: 2 additions & 0 deletions Client/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
## Git Attributes ##

# Auto detect the 'text' files and perform the 'LF' normalization
* text=auto
17 changes: 0 additions & 17 deletions Client/Components/Footer/Footer.tsx

This file was deleted.

12 changes: 7 additions & 5 deletions Client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# Use the official Nginx image as the base image
## DockerFile: For "Nginx" Application ##

# Start from the latest "nginx" base image (alpine)
FROM nginx:alpine

# Remove the default Nginx configuration file
# Remove the default "Nginx" configuration 'file'
RUN rm /usr/share/nginx/html/index.html

# Copy the custom index.html to the Nginx web root
# Copy the custom 'index.html' to the "Nginx" web 'root'
COPY index.html /usr/share/nginx/html/

# Expose port 80 to access the web page
# Expose the port "80" to 'access' the web 'page'
EXPOSE 80

# Start Nginx server
# Start the "Nginx" server
CMD ["nginx", "-g", "daemon off;"]
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { DataProp } from '../types/data';

// # 'Data' Constant
const Data: DataProp = {
const Data = {
name: "Suraj Dalvi",
author: "Suraj Dalvi"
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { MetaDataProp } from '../types/metadata';

// # 'MetaData' Constant
const MetaData: MetaDataProp = {
const MetaData = {
title: "Shortify - URL Shortener",
description: "💲Shortify💲 ~ 🕸️ URL Shortener 🕸️",
icons: "/Logo.png"
icons: "logo.png"
};

export default MetaData;
8 changes: 8 additions & 0 deletions Client/Interface/constant/ui.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// # 'UI Data' Constant
const UIData = {
site_name: "Shortify",
black_logo: "black_logo.png", // # For "Light" Mode
white_logo: "white_logo.png" // # For "Dark" Mode
};

export default UIData;
7 changes: 0 additions & 7 deletions Client/Interface/types/data.ts

This file was deleted.

8 changes: 0 additions & 8 deletions Client/Interface/types/metadata.ts

This file was deleted.

2 changes: 1 addition & 1 deletion Client/LICENCE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2025 Suraj Dalvi
Copyright (c) 2026 Suraj Dalvi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const AuthLayout = ({ children }: { children: React.ReactNode }) => {
const AuthLayout = ({ children }) => {
return (
<>
<div className="h-screen flex items-center justify-center">
Expand Down
15 changes: 0 additions & 15 deletions Client/app/contact/page.tsx

This file was deleted.

80 changes: 60 additions & 20 deletions Client/app/globals.css
Original file line number Diff line number Diff line change
@@ -1,31 +1,71 @@
/* ## App Global CSS ## */
/* ## App "Global" CSS ## */

/* # Tailwind CSS # */
/* # "Tailwind" CSS # */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* # Scrollbar CSS # */
/* # "Layer" CSS # */
@layer base {

/* Firefox */
* {
scrollbar-width: auto;
scrollbar-color: #5b8be0 #ffffff;
}
/* # "Light" Theme # */
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 222.2 84% 4.9%;
--radius: 0.5rem;
}

/* Chrome | Edge | Safari */
*::-webkit-scrollbar {
width: 12px;
height: 20px;
/* # "Dark" Theme # */
.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 11.2%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 212.7 26.8% 83.9%;
}
}

*::-webkit-scrollbar-track {
background: transparent;
margin: 10px;
}
/* # "Layer" CSS # */
@layer base {

/* # "Border" CSS # */
* {
@apply border-border;
}

*::-webkit-scrollbar-thumb {
background-color: #5b8be0;
border-radius: 10px;
border: 3px solid black;
/* # "Body" CSS # */
body {
@apply bg-background text-foreground;
}
}
22 changes: 22 additions & 0 deletions Client/app/layout.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import './globals.css'
import MetaData from '../Interface/constant/metadata';
import { ClerkProvider } from '@clerk/nextjs';
import "react-toastify/dist/ReactToastify.css";

export const metadata = MetaData

const RootLayout = ({ children }) => {
return (
<>
<ClerkProvider>
<html lang="en">
<body>
{children}
</body>
</html>
</ClerkProvider >
</>
);
};

export default RootLayout;
27 changes: 0 additions & 27 deletions Client/app/layout.tsx

This file was deleted.

Loading