Skip to content

Gives 404 Not Found #3

Description

@parmeet9891

Currently gives 404 Not Fount when running on localhost.

It also gives error on model/company.js -> when we are declaring schema.
Error occurs on 'new' operator. (It says Schema is not a constructor).
When i changes it to mongoose.Schema or new mongoose.Schema, error gone but still not running on localhost.
Please see to it.
Thank You!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions