Git Product home page Git Product logo

atlas's Introduction

MongoDB Atlas data retrieving using API and data mapping, how to run the app. In this rep you wil find an app to retrive the data using the db connection and also just API.

Install Flask and Requests libraries by running the following commands in your terminal or install as packages.

    pip install Flask ... 
    or as packages 

configure the Flask App: - Open the Flask app file (e.g., app.py) and replace the placeholders (your_mongodb_atlas_api_url_here and your_api_key_here) with your actual MongoDB Atlas API endpoint URL and API key.

Run the Flask App:

    python app.py
    
- This will start the Flask app locally.

Access the Export Endpoint: you can always change your endpoint in your script to serve the needs. - Once the Flask app is running, open a web browser and access the following URL: http://localhost:5000/export_csv

 This will trigger the CSV file download with the exported data from MongoDB Atlas.

Logs app.log file in the same directory as the Flask app to view logs of events and errors generated during the app's execution.

atlas's People

Contributors

iabdelmoneim avatar

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.