A contemporary, simple, and lightweight URL shortener API using Node.js and MongoDB.
- Git
- Node.js
- MongoDB
If you want to test it locally, you can follow the following steps to install and run it successfully.
-
Clone the repository
git clone https://github.com/oredotjs/URL-SNIPPER -
Install the dependencies
npm install -
Run the server
npm start -
Test the API using Postman or any other API testing tool
This API is public and hosted by Vercel for education purposes. So if you are interested in testing it without cloning and running locally, it is also hosted online, feel free to play around referring to the Documentation. The API is a RESTful API that allows you to perform the following operations:
- Create a new short URL
- Create a new custom short URL
- Get all short URLs
- Redirect to the original URL
This project is licensed under the MIT License - see the LICENSE file for details