rajeshsinha1997 / url-shortener-rest-python

A basic URL-Shortening service developed as a REST-API using Python where users can get a shortened version of a very big URL
MIT License
0 stars 0 forks source link
flask flask-api flask-application flask-restful python python3 rest-api

URL Shortener REST API

A basic URL shortening service developed as a REST API using Python and Flask. This API allows users to shorten long URLs into shorter versions, making them easier to share and manage.

Features

Endpoints

Getting Started

  1. Ensure you have Python 3.10 or later installed.
  2. Clone this repository.
  3. Install dependencies: pip install -r requirements.txt.
  4. Run the Flask application:
    • For local or development environments, use: flask run --debug
    • For production or deployment environments, use: flask run
  5. Access the API endpoints using a tool like cURL, Postman, or a web browser.
  6. Explore the API using the included Postman collection, which provides example requests and corresponding example responses for each endpoint.

Developers

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments