Skip to content

FastAPI URL Shortener is a minimalistic web application built with FastAPI for shortening long URLs. It provides a simple API to generate short URLs and redirect users to the original links. The application uses SQLite as its database backend and can be easily deployed on cloud platforms like Heroku or DigitalOcean.

Notifications You must be signed in to change notification settings

codderv006/URL-shortner-FAST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI URL Shortener

FastAPI URL Shortener is a simple web application that allows you to shorten long URLs. It is built with FastAPI, a modern, fast (high-performance), web framework for building APIs with Python 3.7+.

Features

  • Shorten long URLs to unique short URLs.
  • Redirect to the original URL when accessing the short URL.
  • SQLite database for storing URL mappings.

Getting Started

  • Clone the repository.
  • Install dependencies.
  • Run the FastAPI application.
  • For detailed instructions, refer to the Installation and Running the Application sections in the README.

Project Structure

  • main.py: FastAPI application code.
  • static/: Static files (HTML, CSS, JS).
  • url_shortener.db: SQLite database file.

Contribution

Contributions are welcome! Fork the repository, make your changes, and submit a pull request.

About

FastAPI URL Shortener is a minimalistic web application built with FastAPI for shortening long URLs. It provides a simple API to generate short URLs and redirect users to the original links. The application uses SQLite as its database backend and can be easily deployed on cloud platforms like Heroku or DigitalOcean.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published