GithubHelp home page GithubHelp logo

sahandghavidel / mern-blog Goto Github PK

View Code? Open in Web Editor NEW
304.0 5.0 151.0 204 KB

MERN blog using tailwind css

Home Page: https://blog.100jsprojects.com

JavaScript 99.29% HTML 0.25% CSS 0.46%
mern-blog mern-project mern-stack mern-stack-development mernstack

mern-blog's People

Contributors

sahandghavidel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mern-blog's Issues

OAuth.jsx is creating an error

while I am using authentication for gmail through firebase it is creating me an error and I am unable to sign it out with gmail...
It is showing OAuth.jsx:18

   POST http://localhost:5173/api/auth/google 500 (Internal Server Error)

handleGoogleClick @ OAuth.jsx:18
await in handleGoogleClick (async)
callCallback2 @ chunk-T7VP4UGM.js?v=700d354d:3674
invokeGuardedCallbackDev @ chunk-T7VP4UGM.js?v=700d354d:3699
invokeGuardedCallback @ chunk-T7VP4UGM.js?v=700d354d:3733
invokeGuardedCallbackAndCatchFirstError @ chunk-T7VP4UGM.js?v=700d354d:3736
executeDispatch @ chunk-T7VP4UGM.js?v=700d354d:7016
processDispatchQueueItemsInOrder @ chunk-T7VP4UGM.js?v=700d354d:7036
processDispatchQueue @ chunk-T7VP4UGM.js?v=700d354d:7045
dispatchEventsForPlugins @ chunk-T7VP4UGM.js?v=700d354d:7053
(anonymous) @ chunk-T7VP4UGM.js?v=700d354d:7177
batchedUpdates$1 @ chunk-T7VP4UGM.js?v=700d354d:18909
batchedUpdates @ chunk-T7VP4UGM.js?v=700d354d:3579
dispatchEventForPluginEventSystem @ chunk-T7VP4UGM.js?v=700d354d:7176
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay @ chunk-T7VP4UGM.js?v=700d354d:5478
dispatchEvent @ chunk-T7VP4UGM.js?v=700d354d:5472
dispatchDiscreteEvent @ chunk-T7VP4UGM.js?v=700d354d:5449
Show 15 more frames
Show less
OAuth.jsx:33 SyntaxError: Unexpected end of JSON input in the browser
kindly help me to solve this issur

mot hosted

when we build this folder then i am getting eror No Output Directory named "public" found after the Build completed. You can configure the Output Directory in your Project Settings.

Password gets set to empty after password update if you clear the field and click update again

In the profile page when you change your password -> click update then without refreshing the page clear the password field and change your username or email and click update, the password gets set to empty or "" in database.

I've recreated the issue in the live blog. You can check the user: [email protected] in the live database to confirm.

On further testing it appears that changing your password -> clicking update -> clearing the password field -> clicking update, results in the same issue.

Edit: You can also set username and email to empty the same way. It appears the database already had users with empty email and password

updatePost component

in the client part of this project at the updatePost component inside the handleSubmit function
in the fetch url change the formData._id to postId because the formData._id is always undefined

token verification function with google Authenticated users

It seems like accessing token for users verified via google auth is not working, The req.params.userId and the req.user.Id are never matching, and is always throwing the error message and status code passed to the errorHandler function

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.