tehseen01 / instagram-clone

This repository contains the code for an Instagram clone, a frontend web application built using Next.js and Tailwind CSS. It aims to replicate the core features and design of the popular social media platform, Instagram.
https://instagram-clone-tehseen01.vercel.app
MIT License
4 stars 1 forks source link

Validate user input for username field when sign up #2

Closed tehseen01 closed 1 year ago

tehseen01 commented 1 year ago

As a developer, I want to prevent the user from entering invalid characters in the username field, such as uppercase letters, space and special symbols other than - and _ . This would ensure the consistency and security of the user data.

Acceptance criteria:

Screenshot 2023-05-19 105208

bonapartbon commented 1 year ago

@tehseen01 can i work on this issue?

tehseen01 commented 1 year ago

Sure, feel free to work on this issue. Please make sure to follow the contribution guidelines and check for any updates before submitting your pull request

bonapartbon commented 1 year ago

@tehseen01 i have some problems when running this repo, it stucks at 404 page.

bonapartbon commented 1 year ago

Sure, feel free to work on this issue. Please make sure to follow the contribution guidelines and check for any updates before submitting your pull request

yes just saw you update README. thanks

tehseen01 commented 1 year ago

if you have not setup backend then you will see 404 error

tehseen01 commented 1 year ago

if you don't want to setup backend then simply you can just paste this url in the .env file

NEXT_PUBLIC_API_URL= https://social-api-three.vercel.app/api/
bonapartbon commented 1 year ago

@tehseen01 i pushed into my fork but when i click compare & pull request. this shows up.

Screenshot 2023-05-20 at 1 33 23 PM