Code Monkey home page Code Monkey logo

bookstore's People

Contributors

bradtraversy avatar russoalberto 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  avatar  avatar  avatar

bookstore's Issues

Update connection string for updated MongoDB

I know, old repo, older video, but the information is still relevant.

in the connection string on app.js, if you don't append

{useUnifiedTopology: true, useNewUrlParser: true, useCreateIndex: true }

then you will get some deprecation warnings.. New connection string should be:

mongoose.connect('mongodb://localhost/bookstore', {useUnifiedTopology: true, useNewUrlParser: true, useCreateIndex: true });

Versions:
Node 10.16.3
Express: 4.17.1
MongoDB: 4.2
Mongoose: 5.8.9

Book update

If you update the book using a single field, all other fields will be set as empty. That error is being displayed in the video (In you-tube at 58:50) also.

Reinstalling the bower components

I had a little problem with my code while coding during the tutorial and for some reason the app could not load the data from the mongodb.
So I cloned this github repo, it works fine only that every thing is similar to the source code I have. Through trial and trial I realised that when the bower components are reinstalled into the client folder the cloned github repo can't get any data from the db.
I am new to all this and I know the repo was created a long time ago, but I would like to know how I could fix this.

Edit: the cloned repo while running also has an exclamation mark in the url which I learnt that the hash prefix was changed.

Edit 2: The attached file is a compressed copy of the bookstore repo with the reinstalled bower componets

Thanks in advance.

bookstore(copy).zip

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.