- Install the
requirements.txt
in your virtual env - Start the mongodb server
- Create the
practise_restaurants_db
DB,restaurants
collection and importrestaurants.json
data into therestaurants
collection using the following command:
mongoimport --db practise_restaurants_db --collection restaurants --file restaurants.json --jsonArray
- Start your practise