Code Monkey home page Code Monkey logo

mern-azure-server's People

Contributors

alanst32 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

mern-azure-server's Issues

mongoose: Cannot specify a custom index on `_id` for model name "student", MongoDB does not allow overwriting the default `_id` index

All src is a bit deprecated. Do i need create manually all collections before first start of app?

also is bad to extend Document

export interface StudentInterface extends Document {
    _id: String,
    firstName: String,
    lastName: String,
    dateOfBirth: Date,
    country: String,
    skills: String[],
    inactive: Boolean
}

mongoose: Cannot specify a custom index on `_id` for model name "student", MongoDB does not allow overwriting the default `_id` index. See http://bit.ly/mongodb-id-index
(node:167546) Warning: Accessing non-existent property 'MongoError' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:167546) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
App is running in development mode on port 3000
LOG: database connected
(node:167546) DeprecationWarning: Listening to events on the Db class has been deprecated and will be removed in the next major version.
(node:167546) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
DB Connected

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.