WebShortener
WebShortener copied to clipboard
Lightweight Link Shortener.
WebShortener
A simple web shortener made with oak and mongo.
Live Version
You can find a live version of this project here.
API
The API endpoint is /shorten
, it takes url
as a query parameter and returns the shortened URL.
Example usage can be found here.
Deploying
You can easily deploy this project to deno deploy.
- Fork the repository (and give it a star too!)
- Head on to deno deploy and login with your GitHub account.
- Select "WebShortener" from the list of repositories.
- Choose "main" as the branch, and "api/main.ts" as the entrypoint.
- Head on to the settings of your app and add your
MONGO_URL
- Vist the deployed app and enjoy!
License
This project is licensed under the MIT License.
Credits
Made with ❤️ by Aditya.