Skip to content

Repository files navigation

Application works with GraphQL.

There are 3 mongoose schemas that represent the core of our application User, Relestate and Bookings

User can be owner of many real-estates.
Also, user can book real estates. Booking entity stores information about this.

Application should handle the queries for receiving

  • all users ()
  • all real-estates
  • all bookings
    examples of queries:

and also, for mutations thal allow: - create user (userCreate) - create real-estate (realestateCreate) - create booking (bookingCreate) - delete booking (bookingDelete) examples of mutations:

Take the namings from provided examples.
Also, note that drilling through related properties should be possible at any depth.

Set connection string to your database in config.env. < PASSWORD > is substituted in server.js

Well, the finish result must be : image

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages