Giter Site home page Giter Site logo

leopardd / bitly Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 177 KB

:tada: Url shortener service e.g. https://bitly.com

License: MIT License

ApacheConf 4.87% PHP 88.43% HTML 6.69%
bitly url-shortener url-shortener-microservice url-shortner shorten

bitly's Introduction

bitly

Software License Build Status

Example project of leopardd/UrlShortenerBundle

Getting started

  1. Clone: git clone https://github.com/leopardd/bitly.git
  2. Install: composer install
  3. Prepare database: ./bin/console doctrine:schema:update --force
  4. Config parameters.yml and config.dev.yml

composer.lock file was generated on PHP 5.6. If you want to use it on 7.0, remove composer.lock first.

Test

POST: /short/
{
  "url": <url>
}

GET: /short/<code>

Feature & Update & Note

  • Support PHP 5.6, 7.0
  • Test script
    • E2E
    • Codeception
  • Spam protection
  • UI

Reference

bitly's People

Contributors

jojoee avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tboulogne

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.