tr-vs / realist

2 stars 3 forks source link

Add Error messages to sign up page #7

Closed kesdlvi closed 9 months ago

kesdlvi commented 11 months ago

Currently our sign up page will add a user to the database, but only if all input fields are filled in correctly.

Since we are all human, there are bound to some errors for new users (using a taken username, bad password, invalid email, etc)

We will need to display these errors on the sign up page. It should prevent a user submission to the database and instead display a message which echos what the issue is.

There is plenty of white space to display this message, if anything we can move the sign up box to the side. We also could make a popup to display the error. We will discuss this.

Screenshot 2023-11-02 at 10 28 16 PM
sau-sal commented 11 months ago

I would like to work on this. Please assign it to me.

kesdlvi commented 11 months ago

I would like to work on this. Please assign it to me.

Send a pull req

sau-sal commented 11 months ago

I m getting this IP whitelisting error while running backend app -

MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://www.mongodb.com/docs/atlas/security-whitelist/