https://github.com/adityatelange/gourl
🔗 Self-Hosted URL Shortner using ▲ Vercel/Zeit-Now 's Serverless API and MongoDB
https://github.com/adityatelange/gourl
free milligram mit-license mongodb mongodb-atlas nodejs self-hosted serverless url-shortener vercel vercel-serverless
Last synced: about 2 months ago
JSON representation
🔗 Self-Hosted URL Shortner using ▲ Vercel/Zeit-Now 's Serverless API and MongoDB
- Host: GitHub
- URL: https://github.com/adityatelange/gourl
- Owner: adityatelange
- License: mit
- Created: 2020-06-27T14:38:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-05T11:39:57.000Z (over 3 years ago)
- Last Synced: 2025-03-19T06:39:44.312Z (about 2 months ago)
- Topics: free, milligram, mit-license, mongodb, mongodb-atlas, nodejs, self-hosted, serverless, url-shortener, vercel, vercel-serverless
- Language: HTML
- Homepage:
- Size: 110 KB
- Stars: 21
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔗 GoURL
URL Shortner using Vercel /Zeit-Now 's Serverless Api and MongoDB
---
[](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fadityatelange%2Fgourl&env=GOURLDB&envDescription=GOURLDB%20is%20a%20required%20environment%20variable)
## How to Deploy
- Click the above button to Deploy
- In the Environment variables put a new variable with
| NAME | VALUE (WILL BE ENCRYPTED) [example] |
| - | - |
| GOURLDB | mongodb+srv://\:\@cluster0.wwlhg.mongodb.net/\?retryWrites=true&w=majority |- If Everything goes well you have your own URL Shortner :)
**IMP** : https://gourl.vercel.app does not belong to this project nor is anyway linkedin with the maintainer.
---
> 🌟 MongoDB Atlas offers `512 mb` for FREE tier, with 1 ShortURL using `~200 b` of space one can have `2.5 Million+` Urls in a Cluster !
---
Notes:
- https://vercel.com/docs/v2/serverless-functions/introduction
- https://vercel.com/guides/deploying-a-mongodb-powered-api-with-node-and-vercel
- https://vercel.com/docs/v2/build-step#environment-variables
- https://vercel.com/blog/deploy-button