Skip to content

This is a Node.js REST API service, which is used to shorten the given URL.

License

Notifications You must be signed in to change notification settings

Manojkumar8497/Shorten-URL

Repository files navigation

Logo

Shorten URL REST API

This is a Shorten URL REST application, which is developed by Node.js and MongoDB using the MVC pattern.

Installation

  1. Clone the repository
  2. Start the server by running npm run dev

Note: This application can be deployed into your server, but you need shortest domain.

Usage

You can access the following endpoints on http://localhost:3000

METHOD URL Description
GET /:code Return the original url
POST /api/url/shorten Create a shorten url

Note: You need to pass the longUrl object as a request body in POST method.

More Updates

Follow me on LinkedIn to get the latest update about features, code, and more. If you like this project give a star to this repo.

Thanks

Thanks to all contributors and their support.

If you have an idea or you want to do something, tell me or just do it! I'm always happy to hear your feedback!

Copyright and license

Code and documentation copyright 2020 the authors. Code released under the MIT License.

About

This is a Node.js REST API service, which is used to shorten the given URL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published