great article, thanks!
one note - with axios, there is no need to insert the entire url with localhost - just the endpoint would be enough. this way it can stay the same for dev and deployment.
just add a proxy to package.json
Hmm, sorry for the late reply, but I think that email is already registered. Try changing each of the errors to something meaningful, so that you can understand what's going on
great article, thanks!
one note - with axios, there is no need to insert the entire url with localhost - just the endpoint would be enough. this way it can stay the same for dev and deployment.
just add a proxy to package.json
I keep receiving
{
"error": "Invalid Form"
}
After running this to the terminal
curl -X POST -H "Content-Type: application/json" -d '{"email": "foo@bar.dev", "pwd": "foobar", "username": "foobar"}' "localhost:5000/api/register"
I need help here
Hmm, sorry for the late reply, but I think that email is already registered. Try changing each of the errors to something meaningful, so that you can understand what's going on
Thanks for this piece
Your welcome!
nice Article,
i can't wait part two
Thanks! I'm working on it right now.
UPDATE: It is out dev.to/arnu515/build-a-twitter-clo...
hey you mustn't manipulate DOM directly on react :-)
But considering you are only 14 years old. I am so impressed by your skillsets!
Thanks! I will keep it in mind!
Also I'm 15 now :)
Very nice!
Thanks!
Part two is now out! Check it out here