Skip to content

vikashkuma/nodeMongoQuerySampleAirbnb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airbnb Listings Analysis

This project is a Node.js application that connects to a MongoDB database containing Airbnb listings and reviews. It provides various queries and aggregations to analyze the data using Mongoose.

Features

  • Connect to MongoDB and perform CRUD operations using Mongoose.
  • Various aggregation queries to analyze Airbnb listings data.
  • Sample queries to fetch listings based on different criteria.

Prerequisites

  • Node.js (>= 12.x)
  • MongoDB database (you can use MongoDB Atlas or a local instance)

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/airbnb-listings-analysis.git
    cd airbnb-listings-analysis

Install dependencies:

bash Copy code npm install Create a .env file in the root directory and add your MongoDB connection string:

env Copy code MONGODB_URI=your_mongodb_connection_string Usage Start the application:

bash Copy code npm start The application will connect to the MongoDB database and perform the defined queries. Check the console for the output of each query.

This README.md provides an overview of the project, installation instructions, usag

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published