Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.36 KB

README.md

File metadata and controls

26 lines (20 loc) · 1.36 KB

WebShortener

A simple web shortener made with oak and mongo.

WebShortener - A simple lightweight link shortener using MongoDB. | Product Hunt

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.

  1. Fork the repository (and give it a star too!)
  2. Head on to deno deploy and login with your GitHub account.
  3. Select "WebShortener" from the list of repositories.
  4. Choose "main" as the branch, and "api/main.ts" as the entrypoint.
  5. Head on to the settings of your app and add your MONGO_URL
  6. Vist the deployed app and enjoy!

License

This project is licensed under the MIT License.

Credits

Made with ❤️ by Aditya.