This project is a weather data generator designed to produce synthetic weather data at regular intervals. It utilizes Node.js along with MongoDB for data storage. The generator is scheduled using cron jobs to run periodically, allowing for the continuous generation of weather data.
- Automatic Data Generation: Utilizes cron jobs to automatically generate weather data at specified intervals.
- Customizable Settings: Easily configurable to adjust the frequency and content of generated weather data.
- MongoDB Integration: Stores generated weather data in a MongoDB database for future analysis and retrieval.
- Clone the repository to your local machine.
- Set up environment variables, including MongoDB URI, as specified in the
.env
file. - Install dependencies using
npm install
. - Run the application using
npm start
. - Monitor the console for logs indicating the generation of weather data.
- Node.js
- Express.js
- MongoDB
- Cron