Giter VIP home page Giter VIP logo

crud-express-mongo's Introduction

Repo for Zell's CRUD, Express and MongoDB tutorial

Installation

  1. Clone repo
  2. run npm install

Usage

  1. run npm run dev
  2. Navigate to localhost:3000
  3. Have fun ;)

crud-express-mongo's People

Contributors

dependabot[bot] avatar dnyanmpawar avatar manpreetbhasin avatar oxr463 avatar zellwk 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crud-express-mongo's Issues

MongoError: Authentication failed.

C:\Users\user\Desktop\apagar\crud-express-mongo>nodemon server.js
[nodemon] 1.19.4
[nodemon] to restart at any time, enter rs
[nodemon] watching dir(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node server.js
{ MongoError: Authentication failed.
at Function.MongoError.create (C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\error.js:31:11)
at C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\connection\pool.js:497:72
at authenticateStragglers (C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\connection\pool.js:443:16)
at Connection.messageHandler (C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\connection\pool.js:477:5)
at Socket. (C:\Users\user\Desktop\apagar\crud-express-mongo\node_modules\mongodb-core\lib\connection\connection.js:333:22)
at Socket.emit (events.js:198:13)
at addChunk (_stream_readable.js:288:12)
at readableAddChunk (stream_readable.js:269:11)
at Socket.Readable.push (stream_readable.js:224:10)
at TCP.onStreamRead (internal/stream_base_commons.js:94:17)
name: 'MongoError',
message: 'Authentication failed.',
ok: 0,
errmsg: 'Authentication failed.',
code: 18,
codeName: 'AuthenticationFailed',
operationTime:
Timestamp { bsontype: 'Timestamp', low: 1, high
: 1598323267 },
'$clusterTime':
{ clusterTime:
Timestamp { bsontype: 'Timestamp', low: 1, high
: 1598323267 },
signature: { hash: [Binary], keyId: [Long] } } }
[nodemon] clean exit - waiting for changes before restart

Failed to lookup view in views folder

With Part I, I encountered the error, failed to lookup view in view directory. I first suspected it's the structure problem, so I recreated everything that is no more first level "Node.Project", simply moving the server.js down into MEAN1 folder. Still, having the same problem.

License?

Is there intentionally no license on this material?

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.