Coder Social home page Coder Social logo

putuwaw / shorten-url Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 1.0 130 KB

URL Shortener using Flask, Tailwind CSS, and MySQL

Home Page: https://shrtn-url.vercel.app

License: MIT License

Python 38.10% JavaScript 9.63% CSS 1.11% HTML 45.88% Makefile 4.32% Dockerfile 0.97%
flask mysql vercel url-shortener tailwindcss collaborate

shorten-url's Introduction

Shorten URL

Flask MySQL Vercel

Shorten URL is a free, simple, and open-source URL shortener. It is a web based application that allows you to shorten your long URLs.

Features ๐Ÿ’ก

Using Shorten URL, you can:

  • Shorten your long URLs.
  • Create custom short URLs.

Prerequisites ๐Ÿ“‹

  • Python 3.10 or higher
  • MySQL 8.0.32 or higher
  • Node.js v18.13.0 or higher
  • Docker 24.0.4 or higher (optional)
  • docker-compose 1.29.2 or higher (optional)

Installation ๐Ÿ› 

Manual Installation

  • Clone the repository:
git clone https://github.com/putuwaw/shorten-url.git
  • Install the requirements:
make init
make install
  • Create .env file and set the environment variables for database connection:
make env
  • Install Tailwind CSS, configure it, and watch for changes:
make tw-install
make tw-watch
  • Run the application:
make run

Docker Installation

  • Clone the repository:
git clone https://github.com/putuwaw/shorten-url.git
  • Run docker-compose:
docker-compose up

Contributing ๐Ÿค

Contributions are welcome! Please read the contributing guidelines first.

License ๐Ÿ“

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

shorten-url's People

Contributors

putuwaw avatar dependabot[bot] avatar

Stargazers

Kartik Jain avatar PRAKHAR NIGAM avatar Erik Roth avatar Varshaa Shetty avatar  avatar Amirul Islam avatar Nikhil avatar

Watchers

Kostas Georgiou avatar

Forkers

amirulandalib

shorten-url's Issues

Dockerize Application

To make the development and testing process more consistent, we probably should encapsulate the app with container and Docker. Beside that, we can easier to testing the app without zero configuration using docker-compose the Flask app with MySQL.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.