Giter Site home page Giter Site logo

iiiiii1wepfj / fastapi-tortoise-orm-url-shortener Goto Github PK

View Code? Open in Web Editor NEW
21.0 1.0 2.0 359 KB

a url shortener with fastapi and tortoise-orm

Home Page: https://s.itayki.com

License: GNU General Public License v3.0

Python 94.59% HTML 4.80% Dockerfile 0.61%
fastapi python3 asyncio python orm api url-shortener link-shortener linkshortener urlshortener

fastapi-tortoise-orm-url-shortener's Introduction

fastapi-tortoise-orm-url-shortener

a url shortener with fastapi and tortoise-orm

how to run

  1. git clone https://github.com/iiiiii1wepfj/fastapi-tortoise-orm-url-shortener.git
  2. cd fastapi-tortoise-orm-url-shortener
  3. pip3 install -U -r requirements.txt
  4. cp config.py.example config.py (you can also change the database url and the port of the url shortener)
  5. python3 main.py

docs

after running the main.py file, in the endpoint /docs

todo

  • make option to register/login for some options like edit my links, delete my links and more
  • make a better frontend

if you have more ideas or if you want to add something from the todo-list you can fork the repository and create a pull request (make sure the code is working and using black code format)

contact me

you can open here issue or:

fastapi-tortoise-orm-url-shortener's People

Contributors

iiiiii1wepfj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.