younggillee / email_survey_system Goto Github PK
View Code? Open in Web Editor NEWEmail Survey System (React, Redux, Node.js, MongoDB)
Email Survey System (React, Redux, Node.js, MongoDB)
events.js:160
throw er; // Unhandled 'error' event
^
MongoError: Authentication failed.
at Function.MongoError.create (/Users/gil/WorkSpace/Email_Survey_System/server/node_modules/mongodb-core/lib/error.js:31:11)
xhr.js:178 POST http://localhost:3000/api/surveys 500 (Internal Server Error)
dispatchXhrRequest @ xhr.js:178
xhrAdapter @ xhr.js:12
dispatchRequest @ dispatchRequest.js:52
Promise resolved (async)
request @ Axios.js:58
Axios.(anonymous function) @ Axios.js:78
wrap @ bind.js:9
(anonymous) @ VM1070:1
createError.js:16 Uncaught (in promise) Error: Request failed with status code 500
at createError (createError.js:16)
at settle (settle.js:18)
at XMLHttpRequest.handleLoad (xhr.js:77)
in /src/actions/index.js
'fetchUser' is assigned a value but never used no-unused-vars
Could not check the information of current user in payload in authReducer using console.
Error: redirect_uri_mismatch
The redirect URI in the request, http://localhost:5000/auth/google/callback, does not match the ones authorized for the OAuth client.
After changing
Warning: Each child in an array or iterator should have a unique "key" prop.
After implement router in BrowerRouter
Displaying both components in /surveys page when I routed the page from / to /surveys
In server side......
async (accessToken, refreshToken, profile, done) => {
[0] ^
[0]
[0] SyntaxError: Unexpected token (
[0] at createScript (vm.js:56:10)
[0] at Object.runInThisContext (vm.js:97:10)
[0] at Module._compile (module.js:542:28)
[0] at Object.Module._extensions..js (module.js:579:10)
[0] at Module.load (module.js:487:32)
[0] at tryModuleLoad (module.js:446:12)
[0] at Function.Module._load (module.js:438:3)
[0] at Module.require (module.js:497:17)
[0] at require (internal/module.js:20:19)
[0] at Object. (/Users/gil/Work
xhr.js:178 POST http://localhost:3000/api/surveys net::ERR_EMPTY_RESPONSE
dispatchXhrRequest @ xhr.js:178
xhrAdapter @ xhr.js:12
dispatchRequest @ dispatchRequest.js:52
Promise resolved (async)
request @ Axios.js:58
Axios.(anonymous function) @ Axios.js:78
wrap @ bind.js:9
(anonymous) @ VM326:1
createError.js:16 Uncaught (in promise) Error: Network Error
at createError (createError.js:16)
at XMLHttpRequest.handleError (xhr.js:87)
issingSchemaError: Schema hasn't been registered for model "users".
Use mongoose.model(name, schema)
at MongooseError.MissingSchemaError (/Users/gil/WorkSpace/Email_Survey_System/server/node_modules/mongoose/lib/error/missingSchema.js:20:11)
at Mongoose.model (/Users/gil/WorkSpace/Email_Survey_System/server/node_modules/mongoose/lib/index.js:391:13)
(node:1036) DeprecationWarning: open()
is deprecated in mongoose >= 4.11.0, use openUri()
instead, or set the useMongoClient
option if using connect()
or createConnection()
. See http://mongoosejs.com/docs/connections.html#use-mongo-client
Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials.
Anchor tag, log out dose not working..
I set the redirection to get back to the landing page, but it is not working.
Proxy in package.json seem to working well
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.