Skip to content

Conversation

@loks0n
Copy link
Member

@loks0n loks0n commented Jul 12, 2023

What does this PR do?

Adds a URL shortening service

  • POST endpoint that returns a JSON response containing short url
  • GET /:shortPath redirects to original url
  • Setup script to provision database collections

Test Plan

You can run the function locally by creating the neccessary .env and executing npx appwrite-function-utils dev src/main.js

armang4.appwrite.org link:

Have you read the Contributing Guidelines on issues?

Yes

@Meldiron Meldiron merged commit e3abc68 into main Aug 3, 2023
@loks0n loks0n deleted the feat-url-shortener branch October 3, 2023 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants