Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: URL Shortener function #5

Merged
merged 14 commits into from
Aug 3, 2023
Merged

feat: URL Shortener function #5

merged 14 commits into from
Aug 3, 2023

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.

2 participants