Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johurul-haque/trim-url
Minimal link shortening website
https://github.com/johurul-haque/trim-url
mongoose nextjs shadcn-ui
Last synced: 5 days ago
JSON representation
Minimal link shortening website
- Host: GitHub
- URL: https://github.com/johurul-haque/trim-url
- Owner: johurul-haque
- Created: 2023-07-19T10:19:26.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-23T07:21:13.000Z (7 months ago)
- Last Synced: 2024-04-23T10:38:58.296Z (7 months ago)
- Topics: mongoose, nextjs, shadcn-ui
- Language: TypeScript
- Homepage: https://trimurl.vercel.app
- Size: 953 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![Trim URL homepage](/public/preview.png)
## Trim URL
Minimal link-shortening website built using NextJs and Shadcn/UI.### Features
1. Creates unique short URLs.
2. Redirect to the original URL.
3. Saves generated URLs in local storage.
4. A table showing the list of generated URLs saved in local storage.
5. URLs can be edited, deleted, or copied to the clipboard.### Tech Stack
- Next.js
- TypeScript
- Tailwind CSS
- Shadcn/UI
- Mongoose
- MongoDB
### Getting StartedAdd the following environment variables
```ini
# .env
MONGODB_URI=mongodb+srv://...
```Install the dependencies and start the dev server.
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
### License
This project is licensed under the MIT License.