manu-chroma / username-availability-checker

Live at : https://username-check.herokuapp.com/
95 stars 37 forks source link

Allow users to check availability directly from the URL #61

Closed nzec closed 6 years ago

nzec commented 6 years ago

Example : If someone goes to https://username-check.herokuapp.com/username. It should directly check for username's availability.

manu-chroma commented 6 years ago

This query string works: https://username-check.herokuapp.com/?username=<username>

But I agree we can have a more user friendly route for checking.

nzec commented 6 years ago

@manu-chroma That query string can be used to generate a JSON.

manu-chroma commented 6 years ago

@duttaditya18 I don't understand what you mean by that

nzec commented 6 years ago

@manu-chroma I mean we can generate a JSON for each query. Kind of like an API.

manu-chroma commented 6 years ago

This is what we do atm: https://github.com/manu-chroma/username-availability-checker/blob/master/frontend.py#L18

Adding https://username-check.herokuapp.com/username route should be trivial task here.