Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/khalil-codes/url-shortner-next
A simple URL shortening application built with Next.js. Enter a looong URL and generate a shortened version.
https://github.com/khalil-codes/url-shortner-next
analytics authentication nextjs react server-actions shadcn-ui supabase tailwindcss
Last synced: about 2 months ago
JSON representation
A simple URL shortening application built with Next.js. Enter a looong URL and generate a shortened version.
- Host: GitHub
- URL: https://github.com/khalil-codes/url-shortner-next
- Owner: Khalil-codes
- Created: 2024-08-20T20:46:19.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-04T20:29:27.000Z (4 months ago)
- Last Synced: 2024-11-08T00:07:36.091Z (about 2 months ago)
- Topics: analytics, authentication, nextjs, react, server-actions, shadcn-ui, supabase, tailwindcss
- Language: TypeScript
- Homepage: https://shrinkkit.vercel.app/
- Size: 10.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# URL Shortener
A Next.js project for shortening URLs.
## Overview
This project is a simple URL shortening application built with Next.js. It allows users to enter a long URL and generate a shortened version. The application also provides analytics on the number of clicks for each shortened URL.
## Features
- URL Shortening: Users can enter a long URL and the application will generate a shortened version.
- URL Analytics: Users can view click statistics for each shortened URL.
- User-friendly Interface: The application provides an intuitive interface for creating, editing, and deleting shortened URLs.## Technologies Used
- Next.js
- React
- Supabase
- Lucide React
- Tailwind CSS
- Shadcn UI## Getting Started
To get started with the project, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/khalil-codes/url-shortener-next.git
```2. Install dependencies:
```bash
npm install
```3. Set up environment variables:
- Create a `.env` file in the root directory of the project.
- Add the following environment variables:
```
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
```4. Start the development server:
```bash
npm run dev
```5. Open the application in your browser:
- Visit [http://localhost:3000](http://localhost:3000) to see the application in action.## Contributing
If you'd like to contribute to this project, please follow these steps:
1. Fork the repository.
2. Create a new branch for your changes.
3. Make your changes.
4. Commit and push your changes.
5. Submit a pull request.## License
This project is licensed under the MIT License.
## Screenshots
### Landing Page
![Home Page](./images/landing-page.png)
### Dashboard
![Dashboard Page](./images/dashboard.png)
### Analytics
![Analytics Page](./images/analytics.png)
### Shorten URL Form
![Shorten URL Form Page](./images/create.png)
### Login/Signup
![Auth Page](./images/login.png)
### Light Mode
![Light Mode](./images/light-mode.png)
## Additional Information
For more information about the project, you can refer to the following resources:
- [Next.js Documentation](https://nextjs.org/docs)
- [Supabase Documentation](https://supabase.com/docs)