https://github.com/crashmax-dev/shortener
🔗 URL Shortener built with Next.js, MongoDB and Vercel
https://github.com/crashmax-dev/shortener
mongodb nextjs url-shortener
Last synced: about 1 month ago
JSON representation
🔗 URL Shortener built with Next.js, MongoDB and Vercel
- Host: GitHub
- URL: https://github.com/crashmax-dev/shortener
- Owner: crashmax-dev
- License: mit
- Created: 2021-08-03T12:35:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T11:25:18.000Z (about 3 years ago)
- Last Synced: 2025-06-06T10:41:42.566Z (about 1 year ago)
- Topics: mongodb, nextjs, url-shortener
- Language: TypeScript
- Homepage: https://ie.vercel.app
- Size: 208 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ie.vercel.app

[](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fcrashmax-dev%2Fshortener)
## Overview
- `pages/*` - All other static pages.
- `pages/api/*` - [API routes](https://nextjs.org/docs/api-routes/introduction).
## Running Locally
```bash
$ git clone https://github.com/crashmax-dev/shortener.git
$ cd shortener
$ npm install
$ npm run dev
```
Create a `.env` file similar to [`.env.example`](https://github.com/crashmax-dev/shortener/blob/master/.env.example).
## Built Using
- [Next.js](https://nextjs.org)
- [Vercel](https://vercel.com)
- [MongoDB](https://mongodb.com)
## TODO
- Создание личного кабинета (работа с JWT)
- Добавить удаление ссылок из базы данных
- Выводить на клиенте информацию о ссылке (количество переходов, дата создания)
- Доработать передачу дополнительных параметров (slug/query) в ссылку при перенаправлении
- Добавить опциональный input для кастомного slug'a
- Доработать design