<gh_stars>0
#Dependencies
from flask import Flask, render_template, jsonify,redirect
import pymongo
import scrape_mars

# Create an instance of our Flask app.
app = Flask(__name__)

# Create connection variable
conn = 'mongodb://localhost:27017'

# Pass connection to the pymongo instance.
client = pymongo.MongoClient(conn)

# Connect to a database. Will create one if not already available.
db = client.mars_db



if __name__ == "__main__":
    app.run(debug=True)
#Dependencies
from flask import Flask, render_template, jsonify,redirect
import pymongo
import scrape_mars

# Create an instance of our Flask app.
app = Flask(__name__)

# Create connection variable
conn = 'mongodb://localhost:27017'

# Pass connection to the pymongo instance.
client = pymongo.MongoClient(conn)

# Connect to a database. Will create one if not already available.
db = client.mars_db



if __name__ == "__main__":
    app.run(debug=True)
#Dependencies # Create an instance of our Flask app. # Create connection variable # Pass connection to the pymongo instance. # Connect to a database. Will create one if not already available.