Coder Social home page Coder Social logo

vsamaru / shrtn-deno-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vitqst/shrtn-deno

0.0 0.0 0.0 39 KB

A simple link shortener using Airtable, Vercel, and Deno ๐Ÿฆ•

Home Page: https://shrtn-deno.now.sh

License: MIT License

TypeScript 100.00%

shrtn-deno-1's Introduction

shrtn-deno

deploy to now



Node.js version

This is the Deno version of Shrtn. View the original Node.js version on https://github.com/grikomsn/shrtn.

Examples

View source links at the Shrtn Airtable base template.

Prerequisites

Usage

One-click deploy

  1. Copy the Shrtn Airtable base template to your workspace

  2. Generate your Airtable API key

  3. Click 'deploy to now' button above and enter your API key and base ID to the environment variables prompted

  4. Add your links to your copied Airtable base and enjoy

Fork and push to repository

  1. Copy the Shrtn Airtable base template to your workspace

  2. Generate your Airtable API key

  3. Fork this repository

  4. Add your API key to vercel secrets

    $ vercel secrets add airtable-api-key keyXXXXXXXXXXXXXX

    Note: vercel is a CLI program which you can install by running npm -g i vercel or yarn global add vercel

  5. Add your base ID on vercel.json

    {
      "env": {
        "AIRTABLE_API_KEY": "@airtable-api-key",
        "AIRTABLE_BASE_ID": "appXXXXXXXXXXXXXX"
      }
    }
  6. Push repository and Vercel will automagically deploy your instance

  7. Add your links to your Airtable base and enjoy

Configuration

Default redirect

If base URL is accessed or no unique URL is given, the function will redirect to a specific URL defined on the vercel.json configuration file.

You can configure the default redirect by changing the redirects[0].destination value on the vercel.json file.

Bug or feature request

Submit an issue if there's a bug or if you have any ideas on how to improve this project.

License

MIT License Copyright (c) 2020 Griko Nibras

shrtn-deno-1's People

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.