Skip to content

Added redirect path, Automatic table creation, and URL Validator#8

Open
gdg4dev wants to merge 4 commits into1pt-co:mainfrom
gdg4dev:main
Open

Added redirect path, Automatic table creation, and URL Validator#8
gdg4dev wants to merge 4 commits into1pt-co:mainfrom
gdg4dev:main

Conversation

@gdg4dev
Copy link

@gdg4dev gdg4dev commented Apr 19, 2023

  1. Added '/r/{SHORT_CODE}' path that redirects to a long URL.
  2. Improved readme file
  3. Added URL Validation functionality in '/addURL', earlier just providing this path with empty or gibberish values for long parameter also created a short code.
  4. Added automatic table creation functionality, a table ('1pt') in the database named '1ptco' will be automatically created if such a table does not exist.

@gdg4dev
Copy link
Author

gdg4dev commented Apr 19, 2023

fixed redirect error for urls without protocols

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.

1 participant